mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 19:08:48 +08:00
9 lines
196 B
Bash
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
|