From: Adam Dickmeiss Date: Mon, 18 Nov 2013 12:46:17 +0000 (+0100) Subject: Fix LSB/HD conformance for /etc/init.d/metaproxy MP-500 X-Git-Tag: v1.4.3~6 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=35ac22f827a47dc4e79c0eaad5bc54b3a61fcf79;p=metaproxy-moved-to-github.git Fix LSB/HD conformance for /etc/init.d/metaproxy MP-500 Debian: add support for /etc/init.d/metaproxy status --- diff --git a/debian/metaproxy.init b/debian/metaproxy.init index d5bc7d0..67743dd 100644 --- a/debian/metaproxy.init +++ b/debian/metaproxy.init @@ -157,8 +157,11 @@ case "$1" in ;; esac ;; + status) + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? + ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|reload|force-reload}" >&2 exit 3 ;; esac