From: Elan Ruusamäe Date: Thu, 8 Feb 2007 16:01:36 +0000 (+0000) Subject: - move pidfile to subdir so nrpe can unlink it X-Git-Tag: AC-STABLE~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fnagios-nrpe.git;a=commitdiff_plain;h=6d1e0646a0de51e4d6f5773dff067a1175c723b1 - move pidfile to subdir so nrpe can unlink it Changed files: nrpe.init -> 1.5 --- diff --git a/nrpe.init b/nrpe.init index 2a17434..5ae2eaf 100644 --- 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"