SOURCES: exim.init - use exim pidfile

arekm arekm at pld-linux.org
Mon Sep 5 08:19:55 CEST 2005


Author: arekm                        Date: Mon Sep  5 06:19:55 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use exim pidfile

---- Files affected:
SOURCES:
   exim.init (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SOURCES/exim.init
diff -u SOURCES/exim.init:1.17 SOURCES/exim.init:1.18
--- SOURCES/exim.init:1.17	Tue Feb 22 17:51:01 2005
+++ SOURCES/exim.init	Mon Sep  5 08:19:49 2005
@@ -7,7 +7,7 @@
 #		that moves mail from one machine to another.
 # processname:	exim
 # config:	/etc/exim.cf
-# pidfile:	/var/run/exim.pid
+# pidfile:	/var/spool/exim/exim-daemon.pid
 
 # Source function library.
 . /etc/rc.d/init.d/functions
@@ -59,7 +59,7 @@
 	# Stop daemons.
 	if [ -f /var/lock/subsys/exim ]; then
 		msg_stopping Exim
-		killproc exim
+		killproc --pidfile /var/spool/exim/exim-daemon.pid exim
 		rm -f /var/lock/subsys/exim >/dev/null 2>&1
 	else
 		msg_not_running Exim
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/exim.init?r1=1.17&r2=1.18&f=u




More information about the pld-cvs-commit mailing list