mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2025-02-02 08:41:55 -08:00
Update run
This commit is contained in:
parent
8f96e5dd7b
commit
c15cb33cea
|
@ -23,7 +23,7 @@ if [[ ! -e /config/data/system.properties ]]; then
|
||||||
if [[ -z "${MONGO_HOST}" ]]; then
|
if [[ -z "${MONGO_HOST}" ]]; then
|
||||||
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
|
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
|
||||||
sleep infinity
|
sleep infinity
|
||||||
elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT}; then
|
elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT} >/dev/null 2>&1; then
|
||||||
echo "*** Defined MONGO_HOST is not reachable, cannot proceed. ***"
|
echo "*** Defined MONGO_HOST is not reachable, cannot proceed. ***"
|
||||||
sleep infinity
|
sleep infinity
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue