SOURCES: nrpe.init - move pidfile to subdir so nrpe can unlink it

glen glen at pld-linux.org
Thu Feb 8 17:01:41 CET 2007


Author: glen                         Date: Thu Feb  8 16:01:41 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- move pidfile to subdir so nrpe can unlink it

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

---- Diffs:

================================================================
Index: SOURCES/nrpe.init
diff -u SOURCES/nrpe.init:1.4 SOURCES/nrpe.init:1.5
--- SOURCES/nrpe.init:1.4	Wed Dec 20 01:31:56 2006
+++ SOURCES/nrpe.init	Thu Feb  8 17:01:36 2007
@@ -41,7 +41,7 @@
 stop() {
 	if [ -f /var/lock/subsys/nrpe ]; then
 		msg_stopping "Nagios NRPE daemon"
-		killproc nrpe
+		killproc --pidfile nrpe/nrpe.pid nrpe
 		rm -f /var/lock/subsys/nrpe
 	else
 		msg_not_running "Nagios NRPE daemon"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/nrpe.init?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list