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:
parent
6244933588
commit
d2de15f0e6
|
@ -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)
|
||||
# #
|
||||
|
|
Loading…
Reference in New Issue