Fix LSB/HS conformance for /etc/init.d/pazpar2 PAZ-904
[pazpar2-moved-to-github.git] / debian / pazpar2.init
index 495b930..0844749 100644 (file)
@@ -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