[Pkg-nagios-changes] [SCM] Debian packaging for Nagios3 branch, master, updated. 3.2.0-5-4-g8ed65a5
Alexander Wirt
formorer at debian.org
Thu Mar 18 10:07:13 UTC 2010
The following commit has been merged in the master branch:
commit 8ed65a5876e68579ff1a4360fe90d0e5ba5e3420
Author: Alexander Wirt <formorer at debian.org>
Date: Thu Mar 18 11:06:50 2010 +0100
Add a check command to initscript
diff --git a/debian/changelog b/debian/changelog
index 46ed597..e2633e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ nagios3 (3.2.0-5) unstable; urgency=low
[ Alexander Wirt ]
* Don't rely on nagios3-cgi in initscript
* Fix init-functions logic (Closes: #561357)
+ * Add a status interface to init (Closes: #553300)
-- Alexander Wirt <formorer at debian.org> Mon, 16 Nov 2009 23:14:58 +0100
diff --git a/debian/nagios3-common.nagios3.init b/debian/nagios3-common.nagios3.init
index b5141eb..d2312d4 100644
--- a/debian/nagios3-common.nagios3.init
+++ b/debian/nagios3-common.nagios3.init
@@ -206,6 +206,10 @@ reload () {
fi
}
+status () {
+ $DAEMON -v $NAGIOSCFG
+}
+
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
@@ -233,6 +237,9 @@ case "$1" in
status)
status
;;
+ check)
+ check
+ ;;
*)
log_failure_msg "Usage: $0 {start|stop|restart|reload|force-reload|status}" >&2
exit 1
--
Debian packaging for Nagios3
More information about the Pkg-nagios-changes
mailing list