[Pkg-nagios-changes] [pkg-icinga2] 01/01: Specify pidfile for status_of_proc in the init script
Gunnar Beutner
shroud-guest at moszumanska.debian.org
Tue Mar 31 11:46:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
shroud-guest pushed a commit to branch master
in repository pkg-icinga2.
commit 8009d66a2940caefb72ca92e18768a928b89737b
Author: Achim Ledermüller <achim.ledermueller at netways.de>
Date: Tue Mar 31 13:41:30 2015 +0200
Specify pidfile for status_of_proc in the init script
---
debian/icinga2-common.icinga2.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/icinga2-common.icinga2.init b/debian/icinga2-common.icinga2.init
index 392f91b..5000454 100644
--- a/debian/icinga2-common.icinga2.init
+++ b/debian/icinga2-common.icinga2.init
@@ -193,7 +193,7 @@ case "$1" in
esac
;;
status)
- status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+ status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $?
;;
reload|force-reload)
do_check_config
--
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