SOURCES: php-fcgi.init - kill program by correct name

glen glen at pld-linux.org
Thu Dec 14 09:12:13 CET 2006


Author: glen                         Date: Thu Dec 14 08:12:13 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- kill program by correct name

---- Files affected:
SOURCES:
   php-fcgi.init (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/php-fcgi.init
diff -u SOURCES/php-fcgi.init:1.9 SOURCES/php-fcgi.init:1.10
--- SOURCES/php-fcgi.init:1.9	Thu Dec 14 09:10:25 2006
+++ SOURCES/php-fcgi.init	Thu Dec 14 09:12:08 2006
@@ -53,7 +53,7 @@
 	# Stop daemons.
 	if [ -f /var/lock/subsys/php-fcgi ]; then
 		msg_stopping "PHP FastCGI"
-		killproc --pidfile php-fcgi.pid php.fcgi
+		killproc --pidfile php-fcgi.pid ${PHP_FCGI_BINARY##*/}
 		rm -f /var/lock/subsys/php-fcgi >/dev/null 2>&1
 	else
 		msg_not_running "PHP FastCGI"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-fcgi.init?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list