diff options
Diffstat (limited to 'testing/php/rc.d.php-fpm')
-rw-r--r-- | testing/php/rc.d.php-fpm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/testing/php/rc.d.php-fpm b/testing/php/rc.d.php-fpm index c75d905e5..3b3ec20de 100644 --- a/testing/php/rc.d.php-fpm +++ b/testing/php/rc.d.php-fpm @@ -64,7 +64,7 @@ case "$1" in exit 1 fi - wait_for_pid created /var/run/php-fpm/php-fpm.pid + wait_for_pid created /run/php-fpm/php-fpm.pid if [ -n "$try" ] ; then stat_fail @@ -79,14 +79,14 @@ case "$1" in test_config stat_busy 'Gracefully shutting down php-fpm' - if [ ! -r /var/run/php-fpm/php-fpm.pid ] ; then + if [ ! -r /run/php-fpm/php-fpm.pid ] ; then stat_fail exit 1 fi - kill -QUIT `cat /var/run/php-fpm/php-fpm.pid` + kill -QUIT `cat /run/php-fpm/php-fpm.pid` - wait_for_pid removed /var/run/php-fpm.pid + wait_for_pid removed /run/php-fpm.pid if [ -n "$try" ] ; then stat_fail @@ -100,14 +100,14 @@ case "$1" in force-quit) stat_busy 'Terminating php-fpm' - if [ ! -r /var/run/php-fpm/php-fpm.pid ] ; then + if [ ! -r /run/php-fpm/php-fpm.pid ] ; then stat_fail exit 1 fi - kill -TERM `cat /var/run/php-fpm/php-fpm.pid` + kill -TERM `cat /run/php-fpm/php-fpm.pid` - wait_for_pid removed /var/run/php-fpm/php-fpm.pid + wait_for_pid removed /run/php-fpm/php-fpm.pid if [ -n "$try" ] ; then stat_fail @@ -127,12 +127,12 @@ case "$1" in test_config stat_busy 'Reload service php-fpm' - if [ ! -r /var/run/php-fpm/php-fpm.pid ] ; then + if [ ! -r /run/php-fpm/php-fpm.pid ] ; then stat_fail exit 1 fi - kill -USR2 `cat /var/run/php-fpm/php-fpm.pid` + kill -USR2 `cat /run/php-fpm/php-fpm.pid` stat_done ;; |