monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[monit] Stopping a process if another process fails


From: Ben Mail
Subject: [monit] Stopping a process if another process fails
Date: Mon, 9 Feb 2009 18:01:08 +0200

Hi,

I'm a newbie with monit and I wanted to know if it is possible
to stop a process if another one fails to start.

Maybe to use something like:

if 5 restarts within 5 cycles then timeout -
just to use exec "/etc/init.d/<another_process stop"
instead of timeout

or is there any proper way to do it?

Thanks,
Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]