Permalink
Browse files

Merge pull request #223 from drewfradette/master

Added status to init.d script
  • Loading branch information...
2 parents 70fe457 + fe61c95 commit 48cf33793f06e829e8e61c32481ebac824f1cc7c @mrtazz mrtazz committed Dec 25, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 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

0 comments on commit 48cf337

Please sign in to comment.