Changed files:
PyMSNt.init -> 1.5
exit 0
fi
-RETVAL=0
-# See how we were called.
-case "$1" in
- start)
+start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/PyMSNt ]; then
msg_starting "Jabber MSN transport"
else
msg_already_running PyMSNt
fi
- ;;
- stop)
+}
+
+stop() {
# Check if the service is already running?
if [ -f /var/lock/subsys/PyMSNt ]; then
msg_stopping "Jabber MSN transport"
else
msg_not_running PyMSNt
fi
+}
+
+RETVAL=0
+# See how we were called.
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
;;
restart|force-reload)
- $0 stop
- $0 start
- exit $?
+ stop
+ start
;;
status)
status PyMSNt.py