Commit 2efcdc52 authored by anarcat's avatar anarcat

check the pidfile instead of the process name in status

parent 09b95201
......@@ -107,7 +107,7 @@ case "$1" in
esac
;;
status)
status_of_proc "php $DAEMON" "$NAME" && exit 0 || exit $?
status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 || exit $?
;;
reload|force-reload)
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment