SOURCES (AC-branch): dovecot.init - add reload

arekm arekm at pld-linux.org
Wed Mar 28 10:57:29 CEST 2007


Author: arekm                        Date: Wed Mar 28 08:57:29 2007 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- add reload

---- Files affected:
SOURCES:
   dovecot.init (1.2 -> 1.2.2.1) 

---- Diffs:

================================================================
Index: SOURCES/dovecot.init
diff -u SOURCES/dovecot.init:1.2 SOURCES/dovecot.init:1.2.2.1
--- SOURCES/dovecot.init:1.2	Tue Jul  8 14:37:40 2003
+++ SOURCES/dovecot.init	Wed Mar 28 10:57:24 2007
@@ -51,12 +51,17 @@
 	$0 start
 	exit $?
 	;;
+  reload)
+  	msg_reloading "Dovecot"
+  	killproc dovecot -HUP
+	exit $?
+	;;
   status)
   	status dovecot
 	exit $?
 	;;
   *)
-	msg_usage "$0 {start|stop|restart|force-reload|status}"
+	msg_usage "$0 {start|stop|reload|restart|force-reload|status}"
 	exit 3
 esac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/dovecot.init?r1=1.2&r2=1.2.2.1&f=u



More information about the pld-cvs-commit mailing list