[Pkg-nagios-changes] [pkg-icinga2] 01/02: Fail on reload if daemon isn't running
Alexander Wirt
formorer at debian.org
Thu Feb 4 12:28:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
formorer pushed a commit to branch master
in repository pkg-icinga2.
commit 09024cac3d3d7d44550423e3939c5e9f4e7d45c3
Author: Alexander Wirt <formorer at debian.org>
Date: Wed Feb 3 11:44:22 2016 +0100
Fail on reload if daemon isn't running
i2 tracker: #11076
---
debian/icinga2-common.icinga2.init | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/icinga2-common.icinga2.init b/debian/icinga2-common.icinga2.init
index 5000454..1b2e6a7 100644
--- a/debian/icinga2-common.icinga2.init
+++ b/debian/icinga2-common.icinga2.init
@@ -197,6 +197,7 @@ case "$1" in
;;
reload|force-reload)
do_check_config
+ status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" || exit $?
log_daemon_msg "Reloading $DESC" "$NAME"
do_reload
log_end_msg $?
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list