appstore-1panel/apps/php8/8.1.23/supervisor/run.sh

9 lines
196 B
Bash
Raw Normal View History

2023-11-30 17:52:26 +08:00
#!/bin/sh
if command -v supervisord > /dev/null 2>&1; then
2023-12-06 17:28:56 +08:00
php-fpm -y /usr/local/etc/php-fpm.conf &
supervisord -c /etc/supervisord.conf
2023-12-06 17:28:56 +08:00
else
php-fpm -y /usr/local/etc/php-fpm.conf
fi