SOURCES: eventum-irc.init - nice name for service
glen
glen at pld-linux.org
Thu Jan 12 16:11:30 CET 2006
Author: glen Date: Thu Jan 12 15:11:30 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- nice name for service
---- Files affected:
SOURCES:
eventum-irc.init (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SOURCES/eventum-irc.init
diff -u SOURCES/eventum-irc.init:1.7 SOURCES/eventum-irc.init:1.8
--- SOURCES/eventum-irc.init:1.7 Fri Dec 30 00:25:32 2005
+++ SOURCES/eventum-irc.init Thu Jan 12 16:11:25 2006
@@ -17,7 +17,7 @@
# 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 @@
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 @@
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 @@
fail
fi
else
- msg_not_running eventum-irc
+ msg_not_running "Eventum IRC Bot"
fi
;;
restart)
@@ -66,7 +66,7 @@
exit $?
;;
status)
- status eventum-irc php
+ status "Eventum IRC Bot" php
exit $?
;;
*)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-irc.init?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list