diff --git a/apps/php7/7.0.33/supervisor/run.sh b/apps/php7/7.0.33/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php7/7.0.33/supervisor/run.sh +++ b/apps/php7/7.0.33/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi diff --git a/apps/php7/7.1.33/supervisor/run.sh b/apps/php7/7.1.33/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php7/7.1.33/supervisor/run.sh +++ b/apps/php7/7.1.33/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi diff --git a/apps/php7/7.3.33/supervisor/run.sh b/apps/php7/7.3.33/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php7/7.3.33/supervisor/run.sh +++ b/apps/php7/7.3.33/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi diff --git a/apps/php7/7.4.33/supervisor/run.sh b/apps/php7/7.4.33/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php7/7.4.33/supervisor/run.sh +++ b/apps/php7/7.4.33/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi diff --git a/apps/php8/8.0.30/supervisor/run.sh b/apps/php8/8.0.30/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php8/8.0.30/supervisor/run.sh +++ b/apps/php8/8.0.30/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi diff --git a/apps/php8/8.1.23/supervisor/run.sh b/apps/php8/8.1.23/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php8/8.1.23/supervisor/run.sh +++ b/apps/php8/8.1.23/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi diff --git a/apps/php8/8.2.10/supervisor/run.sh b/apps/php8/8.2.10/supervisor/run.sh index 492857bd..5479295b 100644 --- a/apps/php8/8.2.10/supervisor/run.sh +++ b/apps/php8/8.2.10/supervisor/run.sh @@ -1,5 +1,8 @@ #!/bin/sh if command -v supervisord > /dev/null 2>&1; then + php-fpm -y /usr/local/etc/php-fpm.conf & supervisord -c /etc/supervisord.conf +else + php-fpm -y /usr/local/etc/php-fpm.conf fi