r3171 - trunk/bootscripts/blfs/init.d

dj at linuxfromscratch.org dj at linuxfromscratch.org
Sun Jan 2 03:26:36 PST 2005


Author: dj
Date: 2005-01-02 04:26:35 -0700 (Sun, 02 Jan 2005)
New Revision: 3171

Modified:
   trunk/bootscripts/blfs/init.d/courier
Log:
Submitted correct version of courier script.

Modified: trunk/bootscripts/blfs/init.d/courier
===================================================================
--- trunk/bootscripts/blfs/init.d/courier	2005-01-02 10:49:04 UTC (rev 3170)
+++ trunk/bootscripts/blfs/init.d/courier	2005-01-02 11:26:35 UTC (rev 3171)
@@ -191,10 +191,26 @@
 		/usr/sbin/courier stop
 		evaluate_retval
 
+		# Webmail
+		if [ -f /var/run/courier/sqwebmaild.pid.lock ]; then
+			echo "     Webmail..."
+			/usr/sbin/webmaild stop
+			evaluate_retval
+			rm -f /var/run/courier/sqwebmaild.pid{,.lock}
+		fi
+
+                # Webmail
+                if [ -f /var/run/courier/sqwebmaild.pid.lock ]; then
+                        echo "     Webmail..."
+                        /usr/sbin/webmaild stop
+                        evaluate_retval
+                        rm -f /var/run/courier/sqwebmaild.pid{,.lock}
+                fi
+
 		# LDAP Alias
 		if [ -f /var/run/courier/ldapaliasd.lock ]; then
 			echo "     LDAP Alias..."
-			/usr/sbin/ldapaliasd stop
+			/usr/sbin/courierldapaliasd stop
 			evaluate_retval
 			rm -f /var/run/courier/ldapaliasd.lock
 		fi




More information about the blfs-book mailing list