SOURCES: php-fcgi.init - compatibility with spawn-fcgi from lighttpd -r DEV...

pawelz pawelz at pld-linux.org
Mon Sep 15 18:06:08 CEST 2008


Author: pawelz                       Date: Mon Sep 15 16:06:08 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- compatibility with spawn-fcgi from lighttpd -r DEVEL, which:
- prints ok status to stderr
- does not accept <fcgiapp> without "-f"
- pointed out by Pawel Koska <pawel at artfan dot net>

---- Files affected:
SOURCES:
   php-fcgi.init (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SOURCES/php-fcgi.init
diff -u SOURCES/php-fcgi.init:1.25 SOURCES/php-fcgi.init:1.26
--- SOURCES/php-fcgi.init:1.25	Mon Jul 14 18:13:55 2008
+++ SOURCES/php-fcgi.init	Mon Sep 15 18:06:02 2008
@@ -109,7 +109,7 @@
 	[ -z "$DEFAULT_SERVICE_UMASK" ] && DEFAULT_SERVICE_UMASK=022
 	umask ${SERVICE_UMASK:-$DEFAULT_SERVICE_UMASK}
 
-	env -i PATH=$PATH /usr/sbin/spawn-fcgi -P /var/run/php-fcgi.pid $args -C $PHP_FCGI_CHILDREN -- $PHP_FCGI_BINARY > /dev/null
+	env -i PATH=$PATH /usr/sbin/spawn-fcgi -P /var/run/php-fcgi.pid $args -C $PHP_FCGI_CHILDREN -f $PHP_FCGI_BINARY > /dev/null 2>&1
 	RETVAL=$?
 
 	if [ $RETVAL -eq 0 ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/php-fcgi.init?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list