[Pkg-nagios-changes] [SCM] Debian packaging for nagios nrpe branch, master, updated. upstream/2.12-21-g1f69c63
Alexander Wirt
formorer at debian.org
Sun Sep 25 06:31:44 UTC 2011
The following commit has been merged in the master branch:
commit 1f69c63d65320420d030d38eac2b41b8866b89f4
Author: Alexander Wirt <formorer at debian.org>
Date: Sun Sep 25 08:31:29 2011 +0200
Support status in nrpe initscript
diff --git a/debian/nagios-nrpe-server.init b/debian/nagios-nrpe-server.init
index 2347c12..0dda5f0 100644
--- a/debian/nagios-nrpe-server.init
+++ b/debian/nagios-nrpe-server.init
@@ -69,6 +69,9 @@ case "$1" in
start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDDIR/nrpe.pid
log_end_msg $?
;;
+ status)
+ status_of_proc -p $PIDDIR/nrpe.pid "$DAEMON" "$NAME" && exit 0 || exit $?
+ ;;
restart)
$0 stop
sleep 1
--
Debian packaging for nagios nrpe
More information about the Pkg-nagios-changes
mailing list