The following changes were made:
* Moved to new CONFIG directory * Updated init script to exit non zero if status shows nothing running
This commit is contained in:
@@ -39,7 +39,7 @@ case "$1" in
|
||||
;;
|
||||
|
||||
status)
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON"
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" || exit 1
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 [start|stop|reload|restart|status]"
|
||||
|
||||
Reference in New Issue
Block a user