mirror of
https://github.com/casjaysdevdocker/wordpress
synced 2025-01-18 12:34:35 -05:00
🗃️ modified: files/run.sh 🗃️
This commit is contained in:
parent
cda07b4099
commit
37b58588cd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user