mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-12 04:23:24 +02:00
[ACME] Wait for Nginx
This commit is contained in:
parent
a071262e7e
commit
99a816430b
@ -157,10 +157,17 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_f "Waiting for database... "
|
log_f "Waiting for database... " no_nl
|
||||||
while ! mysqladmin status --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${DBPASS} --silent; do
|
while ! mysqladmin status --socket=/var/run/mysqld/mysqld.sock -u${DBUSER} -p${DBPASS} --silent; do
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
log_f "OK" no_date
|
||||||
|
|
||||||
|
log_f "Waiting for Nginx... " no_nl
|
||||||
|
until $(curl --output /dev/null --silent --head --fail http://nginx:8081); do
|
||||||
|
sleep 2
|
||||||
|
done
|
||||||
|
log_f "OK" no_date
|
||||||
|
|
||||||
# Waiting for domain table
|
# Waiting for domain table
|
||||||
log_f "Waiting for domain table... " no_nl
|
log_f "Waiting for domain table... " no_nl
|
||||||
|
Loading…
Reference in New Issue
Block a user