[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. c36d6964cbb8802dcc46ce1c41c82930d19dd9cf
Alexander Wirt
formorer at debian.org
Thu Mar 18 10:06:47 UTC 2010
The following commit has been merged in the master branch:
commit c36d6964cbb8802dcc46ce1c41c82930d19dd9cf
Author: Alexander Wirt <formorer at debian.org>
Date: Thu Mar 18 10:56:38 2010 +0100
Add a check command to initscript
diff --git a/debian/icinga-common.icinga.init b/debian/icinga-common.icinga.init
index 6895f6f..bb3b2b4 100644
--- a/debian/icinga-common.icinga.init
+++ b/debian/icinga-common.icinga.init
@@ -188,6 +188,9 @@ status()
fi
}
+check () {
+ $DAEMON -v $ICINGACFG
+}
reload () {
# Check first
@@ -231,6 +234,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 of icinga(-core)
More information about the Pkg-nagios-changes
mailing list