Check known pid file when checking service status

This is needed to support running multiple services on the same host,
otherwise all services will report as running if any single service is
running.

Change-Id: Ie6b7918af846af2189324b0b177b45ac858eadba
This commit is contained in:
K Jonathan Harker 2016-06-17 08:46:22 -07:00
parent 6244933588
commit d2de15f0e6
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,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)
# #