[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
start but no stop wanted
From: |
Nick Upson |
Subject: |
start but no stop wanted |
Date: |
Mon, 9 Jul 2007 14:08:03 +0100 |
I'm trying to setup a config where monit watches a process and starts
it on failure but does not stop it.
The config I have looks something like
check process ntpd with pidfile "/var/run/ntpd.pid"
start program = "/opt/unb/bin/ntpd.sh start &"
stop program = "/bin/true stop &"
the problems I have are:
a) the start command takes ages before moving on to the next entry in
the file, even when ntpd is already running so there is nothing to do
b) the stop command is even slower
- start but no stop wanted,
Nick Upson <=
Re: start but no stop wanted, Nick Upson, 2007/07/10