SOURCES: apache.init - don't use daemon for reload since start-stop-daemon ...

gotar gotar at pld-linux.org
Sun Oct 12 18:14:36 CEST 2008


Author: gotar                        Date: Sun Oct 12 16:14:36 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't use daemon for reload since start-stop-daemon --start in use

---- Files affected:
SOURCES:
   apache.init (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SOURCES/apache.init
diff -u SOURCES/apache.init:1.57 SOURCES/apache.init:1.58
--- SOURCES/apache.init:1.57	Sat Jan 26 13:42:55 2008
+++ SOURCES/apache.init	Sun Oct 12 18:14:30 2008
@@ -99,8 +99,10 @@
 		RETVAL=$?
 		if [ $RETVAL -eq 0 ]; then
 			msg_reloading httpd.${HTTPD_MPM}
-			daemon httpd.${HTTPD_MPM} $CFG -k graceful
+			busy
+			httpd.${HTTPD_MPM} $CFG -k graceful
 			RETVAL=$?
+			[ $RETVAL -eq 0 ] && ok || fail
 		fi
 	else
 		msg_not_running httpd.${HTTPD_MPM}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache.init?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list