Skip to content

Commit

Permalink
Added status to debian init.d script
Browse files Browse the repository at this point in the history
  • Loading branch information
drewfradette committed Dec 24, 2012
1 parent fb2ed48 commit fe61c95
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions debian/statsd.init
Expand Up @@ -146,9 +146,11 @@ case "$1" in
;;
esac
;;
status)
status_of_proc $DAEMON "$NAME"
;;
*)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|status|force-reload}" >&2
exit 3
;;
esac
Expand Down

0 comments on commit fe61c95

Please sign in to comment.