Author: arekm                        Date: Fri Jul 25 21:56:16 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use pid file

---- Files affected:
SOURCES:
   dovecot.init (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/dovecot.init
diff -u SOURCES/dovecot.init:1.6 SOURCES/dovecot.init:1.7
--- SOURCES/dovecot.init:1.6    Tue Jun  3 15:36:38 2008
+++ SOURCES/dovecot.init        Fri Jul 25 23:56:11 2008
@@ -38,7 +38,7 @@
 stop() {
        if [ -f /var/lock/subsys/dovecot ]; then
                msg_stopping "Dovecot"
-               killproc dovecot
+               killproc --pidfile dovecot/master.pid dovecot
                rm -f /var/lock/subsys/dovecot
        else
                msg_not_running "Dovecot"
@@ -48,7 +48,7 @@
 reload() {
        if [ -f /var/lock/subsys/dovecot ]; then
                msg_reloading dovecot
-               killproc docevot -HUP
+               killproc --pidfile dovecot/master.pid docevot -HUP
                RETVAL=$?
        else
                msg_not_running "Dovecot"
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dovecot.init?r1=1.6&r2=1.7&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to