projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5fc2b
)
Fix LSB/HD conformance for /etc/init.d/metaproxy MP-500
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 18 Nov 2013 12:46:17 +0000
(13:46 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 18 Nov 2013 12:46:17 +0000
(13:46 +0100)
Debian: add support for /etc/init.d/metaproxy status
debian/metaproxy.init
patch
|
blob
|
history
diff --git
a/debian/metaproxy.init
b/debian/metaproxy.init
index
d5bc7d0
..
67743dd
100644
(file)
--- 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