]> git.pld-linux.org Git - packages/nagios-nrpe.git/commitdiff
- move pidfile to subdir so nrpe can unlink it
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 8 Feb 2007 16:01:36 +0000 (16:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nrpe.init -> 1.5

nrpe.init

index 2a17434ea8c6b16a0d770fb63f513c8b01bb067e..5ae2eafc71ed4252406727b873a5aa3c54fe45bc 100644 (file)
--- a/nrpe.init
+++ b/nrpe.init
@@ -41,7 +41,7 @@ start() {
 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"
This page took 0.125593 seconds and 4 git commands to generate.