projects
/
pazpar2-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:
b0feb80
)
Fix LSB/HS conformance for /etc/init.d/pazpar2 PAZ-904
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 18 Nov 2013 12:44:40 +0000
(13:44 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 18 Nov 2013 12:44:40 +0000
(13:44 +0100)
Debian: add support for /etc/init.d/pazpar2 status
debian/pazpar2.init
patch
|
blob
|
history
diff --git
a/debian/pazpar2.init
b/debian/pazpar2.init
index
495b930
..
0844749
100644
(file)
--- 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