SOURCES: monit.init - specify status file to be constant location ...
glen
glen at pld-linux.org
Mon Feb 5 12:59:47 CET 2007
Author: glen Date: Mon Feb 5 11:59:47 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- specify status file to be constant location (not /root/.monit.state)
---- Files affected:
SOURCES:
monit.init (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SOURCES/monit.init
diff -u SOURCES/monit.init:1.11 SOURCES/monit.init:1.12
--- SOURCES/monit.init:1.11 Mon Oct 2 00:04:08 2006
+++ SOURCES/monit.init Mon Feb 5 12:59:42 2007
@@ -16,7 +16,7 @@
# 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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/monit.init?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list