🗃️ modified: files/run.sh 🗃️

This commit is contained in:
Jason 2022-06-24 16:46:48 -04:00
parent cda07b4099
commit 37b58588cd
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -12,7 +12,6 @@ __phpfpm() {
if [ -f "/var/run/php-fpm.sock" ]; then
return 0
else
echo "[i] Starting php-fpm..."
/usr/bin/php-fpm &
if [[ $? = 0 ]]; then
sleep 10
@ -100,5 +99,8 @@ fi
[ -z "$DB_USER" ] && echo "Database user: not set" || echo "Database user: $DB_USER"
[ -z "$DB_PASS" ] && echo "Database pass: not set" || echo "Database pass: $DB_PASS"
echo "[i] Starting php-fpm..."
__phpfpm
echo "[i] Starting web server..."
nginx