SOURCES: apache1.init - run lingerd with umask 002, so that apache...

glen glen at pld-linux.org
Tue Nov 29 01:44:53 CET 2005


Author: glen                         Date: Tue Nov 29 00:44:53 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- run lingerd with umask 002, so that apache main uid could differ from PLD default

---- Files affected:
SOURCES:
   apache1.init (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SOURCES/apache1.init
diff -u SOURCES/apache1.init:1.18 SOURCES/apache1.init:1.19
--- SOURCES/apache1.init:1.18	Tue Nov 29 01:29:26 2005
+++ SOURCES/apache1.init	Tue Nov 29 01:44:48 2005
@@ -42,7 +42,7 @@
 	if [ -x /usr/lib/apache1/lingerd ]; then
 		if [ ! -f /var/lock/subsys/lingerd ]; then
 			msg_starting lingerd
-			daemon --user http /usr/lib/apache1/lingerd
+			SERVICE_UMASK=002 daemon --user http /usr/lib/apache1/lingerd
 			RETVAL=$?
 			[ $RETVAL -eq 0 ] && touch /var/lock/subsys/lingerd
 		else
================================================================

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




More information about the pld-cvs-commit mailing list