Skip to content
This repository
Browse code

Added status to debian init.d script

  • Loading branch information...
commit fe61c955a6ef950a44b5c706a7e831241f49f778 1 parent fb2ed48
Drew Fradette drewfradette authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 debian/statsd.init
6 debian/statsd.init
@@ -146,9 +146,11 @@ case "$1" in
146 146 ;;
147 147 esac
148 148 ;;
  149 + status)
  150 + status_of_proc $DAEMON "$NAME"
  151 + ;;
149 152 *)
150   - #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
151   - echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
  153 + echo "Usage: $SCRIPTNAME {start|stop|restart|status|force-reload}" >&2
152 154 exit 3
153 155 ;;
154 156 esac

0 comments on commit fe61c95

Please sign in to comment.
Something went wrong with that request. Please try again.