Added pidfile argument to the "status" command of the initscripts for worker and verifier
This commit is contained in:
parent
ca55663e9b
commit
0ea1373586
@ -33,7 +33,7 @@ case "$1" in
|
||||
/sbin/start-stop-daemon --start --pidfile $PIDFILE --make-pidfile -b --exec $DAEMON $ARGS
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "verifier" && exit 0 || exit $?
|
||||
status_of_proc -p "${PIDFILE}" "$DAEMON" "verifier" && exit 0 || exit $?
|
||||
;;
|
||||
*)
|
||||
echo "Usage: verifier.sh {start|stop|restart|status}"
|
||||
|
@ -33,7 +33,7 @@ case "$1" in
|
||||
/sbin/start-stop-daemon --start --pidfile $PIDFILE --make-pidfile -b --exec $DAEMON $ARGS
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "stacktach" && exit 0 || exit $?
|
||||
status_of_proc -p "{PIDFILE}" "$DAEMON" "stacktach" && exit 0 || exit $?
|
||||
;;
|
||||
*)
|
||||
echo "Usage: stacktach.sh {start|stop|restart|status}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user