Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added status to debian init.d script

  • Loading branch information...
commit fe61c955a6ef950a44b5c706a7e831241f49f778 1 parent fb2ed48
Drew Fradette drewfradette authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 debian/statsd.init
6 debian/statsd.init
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.