]> git.pld-linux.org Git - packages/monit.git/commitdiff
- specify status file to be constant location (not /root/.monit.state)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 5 Feb 2007 11:59:42 +0000 (11:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    monit.init -> 1.12

monit.init

index a9eef8a1f5743f4abd698ba3bea5d22cc494ac6e..dc0dfc4b7e0eb61964d88eee2ebf5b2801fcbc5c 100644 (file)
@@ -16,7 +16,7 @@ start() {
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/monit ]; then
                msg_starting monit
-               daemon monit -c /etc/monitrc -l syslog -d 60
+               daemon monit -c /etc/monitrc -l syslog -d 60 -s /var/run/monit.state
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/monit
        else
This page took 0.081454 seconds and 4 git commands to generate.