From 35ac22f827a47dc4e79c0eaad5bc54b3a61fcf79 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 18 Nov 2013 13:46:17 +0100 Subject: [PATCH] Fix LSB/HD conformance for /etc/init.d/metaproxy MP-500 Debian: add support for /etc/init.d/metaproxy status --- debian/metaproxy.init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.7.10.4