[packages/eventum] eventum-irc: make pid; the daemon no longer makes it itself
glen
glen at pld-linux.org
Sun Dec 11 20:13:35 CET 2016
commit 5033fc13b91681629a2e2c986c88b6e5c646f15d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Dec 11 21:13:05 2016 +0200
eventum-irc: make pid; the daemon no longer makes it itself
eventum-irc.init | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/eventum-irc.init b/eventum-irc.init
index 18b4108..6a0aff8 100755
--- a/eventum-irc.init
+++ b/eventum-irc.init
@@ -33,6 +33,7 @@ start() {
msg_starting "Eventum IRC Bot"
start-stop-daemon --start \
--exec /usr/share/eventum/bin/irc-bot.php \
+ -m \
--pidfile $PIDFILE \
--chuid http \
--background
@@ -89,7 +90,7 @@ case "$1" in
condrestart 7
;;
status)
- status --pidfile $PIDFILE eventum-irc php
+ status --pidfile $PIDFILE eventum-irc
exit $?
;;
*)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/5033fc13b91681629a2e2c986c88b6e5c646f15d
More information about the pld-cvs-commit
mailing list