monit-general
[Top][All Lists]
Advanced

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

Re: Restart options


From: Martin Pala
Subject: Re: Restart options
Date: Fri, 01 Jun 2007 19:37:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070217 Iceape/1.1.1 (Debian-1.1.1-2)

Yes, you can add the sleep to the start script. If you want to make it conditional, you can use monit environment variable, which is set for the executed script (e.g. MONIT_EVENT).

Martin

Scott Silva wrote:
Is there a way to add a sleep between the stop and start commands when monit
does a restart on a service?





reply via email to

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