appstore-1panel/apps/php7/7.0.33/supervisor/run.sh
2023-12-06 17:28:56 +08:00

9 lines
196 B
Bash

#!/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