]> git.pld-linux.org Git - packages/eventum.git/commitdiff
eventum-irc: make pid; the daemon no longer makes it itself
authorElan Ruusamäe <glen@delfi.ee>
Sun, 11 Dec 2016 19:13:05 +0000 (21:13 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 11 Dec 2016 19:13:05 +0000 (21:13 +0200)
eventum-irc.init

index 18b41083f869f4fbdd2a6bfa43e39dbcb2380bc7..6a0aff87de5decb56cfa43709063b2c817698f59 100755 (executable)
@@ -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 $?
        ;;
   *)
This page took 0.035975 seconds and 4 git commands to generate.