]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-irc.init
run upgrade script as http user; keep config dir writable
[packages/eventum.git] / eventum-irc.init
index e9339d30781e8c1a4422e43853a4f16753f1db02..6a0aff87de5decb56cfa43709063b2c817698f59 100755 (executable)
@@ -32,7 +32,8 @@ start() {
 
        msg_starting "Eventum IRC Bot"
        start-stop-daemon --start \
-               --exec /usr/sbin/eventum-irc-bot \
+               --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 eventum-irc-bot php
+       status --pidfile $PIDFILE eventum-irc
        exit $?
        ;;
   *)
This page took 0.092129 seconds and 4 git commands to generate.