diff --git a/files/run.sh b/files/run.sh index 56c52b8..f63b572 100644 --- a/files/run.sh +++ b/files/run.sh @@ -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