|Subject:||Re: calling stop program when the process doesn't exist|
|Date:||Sun, 6 May 2012 18:18:15 +0200|
before monit calls the stop program, it checks whether the process is running - if not, then the stop program is intentionally skipped (optimization).
If you need to always call stop before start, you can put it to the start program like this:
start program = "/bin/bash -c '/tmp/stop_service.sh && /tmp/start_service.sh'"
On Apr 17, 2012, at 10:45 AM, jing ping wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|