From 73f38bc719bba1f83d1ead98ea1a4477e1a91631 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 18 Nov 2013 13:44:40 +0100 Subject: [PATCH] Fix LSB/HS conformance for /etc/init.d/pazpar2 PAZ-904 Debian: add support for /etc/init.d/pazpar2 status --- debian/pazpar2.init | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/pazpar2.init b/debian/pazpar2.init index 495b930..0844749 100644 --- a/debian/pazpar2.init +++ b/debian/pazpar2.init @@ -145,9 +145,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|restart|force-reload}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac -- 1.7.10.4