Update run

This commit is contained in:
driz 2023-10-16 12:03:57 -04:00 committed by GitHub
parent 8f96e5dd7b
commit c15cb33cea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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