From 37b58588cd0326cfb295510c26ccbf0e5809d779 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 24 Jun 2022 16:46:48 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20modified:=20files/run.s?= =?UTF-8?q?h=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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