Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Nov 2013 09:16:23 +0000 (10:16 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 25 Nov 2013 09:16:23 +0000 (10:16 +0100)
debian/metaproxy.init

index d5bc7d0..67743dd 100644 (file)
@@ -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