]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- nice name for service
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 12 Jan 2006 15:11:25 +0000 (15:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-irc.init -> 1.8

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.089241 seconds and 4 git commands to generate.