]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-irc.init
- bugfixes
[packages/eventum.git] / eventum-irc.init
index 0d9f144be16de58fcf4fb66b08cf6e15a0ed766e..9d3d430cb0b232b903331834435663d91ef12c73 100644 (file)
@@ -17,7 +17,7 @@ PIDFILE=/var/run/eventum/irc_bot.pid
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status -a "$1" != init ]; then
-               msg_network_down eventum-irc
+               msg_network_down "Eventum IRC Bot"
                exit 1
        fi
 else
@@ -29,7 +29,7 @@ RETVAL=0
 case "$1" in
 start)
        if [ ! -f /var/lock/subsys/eventum-irc ]; then
-               msg_starting eventum-irc
+               msg_starting "Eventum IRC Bot"
                start-stop-daemon --start \
                        --exec /usr/sbin/eventum-bot \
                        --pidfile $PIDFILE \
@@ -44,12 +44,12 @@ start)
                        fail
                fi
        else
-               msg_already_running eventum-irc
+               msg_already_running "Eventum IRC Bot"
        fi
 ;;
 stop)
        if [ -f /var/lock/subsys/eventum-irc ]; then
-               msg_stopping eventum-irc
+               msg_stopping "Eventum IRC Bot"
                if start-stop-daemon --stop --oknodo --pidfile $PIDFILE; then
                        rm -f $PIDFILE /var/lock/subsys/eventum-irc >/dev/null 2>&1
                        ok
@@ -57,7 +57,7 @@ stop)
                        fail
                fi
        else
-               msg_not_running eventum-irc
+               msg_not_running "Eventum IRC Bot"
        fi
 ;;
 restart)
@@ -66,7 +66,7 @@ restart)
        exit $?
 ;;
 status)
-       status eventum-irc php
+       status "Eventum IRC Bot" php
        exit $?
 ;;
 *)
This page took 0.031091 seconds and 4 git commands to generate.