SOURCES: qmhandle-daemontools.patch - use qmail initscript for sto...

glen glen at pld-linux.org
Fri Jan 27 19:37:20 CET 2006


Author: glen                         Date: Fri Jan 27 18:37:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use qmail initscript for stopping qmail-send, as it waits for process to terminate and qmHandle will not skip starting it

---- Files affected:
SOURCES:
   qmhandle-daemontools.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/qmhandle-daemontools.patch
diff -u SOURCES/qmhandle-daemontools.patch:1.1 SOURCES/qmhandle-daemontools.patch:1.2
--- SOURCES/qmhandle-daemontools.patch:1.1	Sat Nov 27 01:41:58 2004
+++ SOURCES/qmhandle-daemontools.patch	Fri Jan 27 19:37:14 2006
@@ -1,19 +1,28 @@
---- qmHandle.~1~	2003-12-10 16:01:17.000000000 +0200
-+++ qmHandle	2004-11-27 02:28:13.000000000 +0200
-@@ -25,12 +25,12 @@
+--- qmHandle	2003-12-10 16:01:17.000000000 +0200
++++ /tmp/qmHandle	2006-01-27 20:34:20.000000000 +0200
+@@ -25,12 +24,12 @@
  # ### Be sure to uncomment only ONE of each variable declarations ###
  
  # For instance, this is if you have DJB's daemontools
 -#my ($stopqmail) = '/usr/local/bin/svc -d /service/qmail-send';
 -#my ($startqmail) = '/usr/local/bin/svc -u /service/qmail-send';
-+my ($stopqmail) = '/usr/sbin/svc -d /service/qmail-send';
-+my ($startqmail) = '/usr/sbin/svc -u /service/qmail-send';
++#my ($stopqmail) = '/usr/sbin/svc -d /service/qmail-send';
++#my ($startqmail) = '/usr/sbin/svc -u /service/qmail-send';
  
  # While this is if you have a Debian GNU/Linux with its qmail package
 -my ($stopqmail) = '/etc/init.d/qmail stop';
 -my ($startqmail) = '/etc/init.d/qmail start';
-+#my ($stopqmail) = '/etc/init.d/qmail stop';
-+#my ($startqmail) = '/etc/init.d/qmail start';
++my ($stopqmail) = '/etc/rc.d/init.d/qmail stop send';
++my ($startqmail) = '/etc/rc.d/init.d/qmail start send';
  
  # If you don't have scripts, leave $stopqmail blank (the process will
  # be hunted and killed by qmHandle):
+@@ -46,7 +45,7 @@
+ #####
+ # Enter here the system command which returns qmail PID. The following
+ # should work on most Unixes:
+-my ($pidcmd) = 'pidof qmail-send';
++my ($pidcmd) = '/sbin/pidof qmail-send';
+ 
+ ####################  USER CONFIGURATION END  ####################
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/qmhandle-daemontools.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list