]> git.pld-linux.org Git - packages/php.git/blobdiff - php-fpm.init
use /var/run for fpm pid files
[packages/php.git] / php-fpm.init
index b44f905e4bcab06df5f81de15962f1aff7fcf997..020fc7896fd9a1fc0af7bb4413aebe2401affbc3 100644 (file)
@@ -8,7 +8,7 @@
 #
 # processname: @processname@
 # config:      /etc/php/php-fpm.conf
-# pidfile:     /var/run/php/@processname@.pid
+# pidfile:     /var/run/@processname@.pid
 #
 
 # Source function library
@@ -20,7 +20,7 @@
 configfile=/etc/php/php-fpm.conf
 lockfile=/var/lock/subsys/@processname@
 pidfile=$(sed -ne  's,^pid\s*=\s*\(.*\),\1,p' $configfile)
-pidfile=${pidfile:-/var/run/php/@processname@.pid}
+pidfile=${pidfile:-/var/run/@processname@.pid}
 
 start() {
        # Check if the service is already running?
This page took 0.030229 seconds and 4 git commands to generate.