SOURCES: php-fcgi.init - depend on spawn-fcgi that prints ok status to stdout
glen
glen at pld-linux.org
Mon Jul 14 18:14:01 CEST 2008
Author: glen Date: Mon Jul 14 16:14:01 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- depend on spawn-fcgi that prints ok status to stdout
---- Files affected:
SOURCES:
php-fcgi.init (1.24 -> 1.25)
---- Diffs:
================================================================
Index: SOURCES/php-fcgi.init
diff -u SOURCES/php-fcgi.init:1.24 SOURCES/php-fcgi.init:1.25
--- SOURCES/php-fcgi.init:1.24 Thu Nov 15 00:58:00 2007
+++ SOURCES/php-fcgi.init Mon Jul 14 18:13:55 2008
@@ -109,14 +109,16 @@
[ -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 -f $PHP_FCGI_BINARY -C $PHP_FCGI_CHILDREN 2> /dev/null
+ env -i PATH=$PATH /usr/sbin/spawn-fcgi -P /var/run/php-fcgi.pid $args -C $PHP_FCGI_CHILDREN -- $PHP_FCGI_BINARY > /dev/null
RETVAL=$?
+
if [ $RETVAL -eq 0 ]; then
ok
touch /var/lock/subsys/php-fcgi
else
fail
fi
+
}
# Stops FCGI.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/php-fcgi.init?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list