]> git.pld-linux.org Git - packages/cyrus-imapd.git/commitdiff
- updated
authorankry <ankry@pld-linux.org>
Fri, 2 May 2003 23:38:07 +0000 (23:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cyrus-imapd.init -> 1.3

cyrus-imapd.init

index 7d3af19b53d0886f9ef9026217edd47497c8aabc..caa10632869bc9a70bdfe77f016b43edca9b9fa2 100644 (file)
@@ -42,9 +42,9 @@ case "$1" in
                msg_already_running cyrus-imapd
                exit 1
        fi
-        ;;
+       ;;
   stop)
-        # Stop daemons.
+       # Stop daemons.
        if [ -f /var/lock/subsys/cyrus-imapd ]; then
                msg_stopping cyrus-imapd
                killproc cyrus-master
@@ -54,18 +54,18 @@ case "$1" in
                msg_not_running cyrus-imapd
                exit 1
        fi      
-        ;;
-  restart)
-        $0 stop
+       ;;
+  restart|reload)
+       $0 stop
        $0 start
-        ;;
+       ;;
   status)
        status cyrus-master
        RETVAL=$?
-        ;;
+       ;;
   *)
-       msg_usage "$0 {start|stop|status|restart}"
-        exit 1
+       msg_usage "$0 {start|stop|restart|reload|status}"
+       exit 1
 esac
 
 exit $RETVAL
This page took 0.213472 seconds and 4 git commands to generate.