]> git.pld-linux.org Git - packages/partysip.git/commitdiff
- LSB conformance
authorankry <ankry@pld-linux.org>
Sun, 25 May 2003 15:00:04 +0000 (15:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    partysip.init -> 1.3

partysip.init

index ef4222589e67a3fc8ab08e16982299b0fd281666..1c0000d7bf962191e6981b6c4510a336bb085a03 100644 (file)
@@ -24,7 +24,7 @@ else
        exit 0
 fi
 
-
+RETVAL=0
 # See how we were called.
 case "$1" in
   start)
@@ -36,7 +36,6 @@ case "$1" in
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/partysip
        else
                msg_already_running partysip
-               exit 1
        fi
        ;;
   stop)
@@ -47,19 +46,20 @@ case "$1" in
                rm -f /var/lock/subsys/partysip >/dev/null 2>&1
        else
                msg_not_running partysip
-               exit 1
        fi
        ;;
-  restart|reload)
+  restart|force-reload)
        $0 stop
        $0 start
+       exit $?
        ;;
   status)
        status partysip
+       exit $?
        ;;
   *)
-       msg_usage "$0 {start|stop|restart|reload|status}"
-       exit 1
+       msg_usage "$0 {start|stop|restart|force-reload|status}"
+       exit 3
 esac
 
 exit $RETVAL
This page took 0.084167 seconds and 4 git commands to generate.