Author: glen                         Date: Sun Nov 30 15:43:14 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pass pidfile

---- Files affected:
SOURCES:
   nagios-grapher.init (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/nagios-grapher.init
diff -u SOURCES/nagios-grapher.init:1.4 SOURCES/nagios-grapher.init:1.5
--- SOURCES/nagios-grapher.init:1.4     Sun Nov 30 16:16:22 2008
+++ SOURCES/nagios-grapher.init Sun Nov 30 16:43:08 2008
@@ -47,7 +47,7 @@
        if [ -f /var/lock/subsys/nagios-grapher ]; then
                # Stop daemons.
                msg_stopping "Nagios Grapher collector"
-               killproc nagios-grapher
+               killproc --pidfile 
/var/lib/nagios/nagios_grapher/nagios_grapher.pid nagios-grapher
                rm -f /var/lock/subsys/nagios-grapher
        else
                msg_not_running "Nagios Grapher collector"
@@ -84,7 +84,7 @@
        condrestart 7
        ;;
   status)
-       status nagios-grapher
+       status --pidfile /var/lib/nagios/nagios_grapher/nagios_grapher.pid 
nagios-grapher collect2.pl
        RETVAL=$?
        ;;
   *)
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nagios-grapher.init?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to