Permalink
Browse files

Added status to debian init.d script

  • Loading branch information...
1 parent fb2ed48 commit fe61c955a6ef950a44b5c706a7e831241f49f778 @drewfradette drewfradette committed Dec 24, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 debian/statsd.init
View
6 debian/statsd.init
@@ -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

0 comments on commit fe61c95

Please sign in to comment.