We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2e9b74 commit 1172453Copy full SHA for 1172453
1 file changed
root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run
@@ -30,7 +30,7 @@ fi
30
if [[ ! -e /config/data/system.properties ]]; then
31
if [[ -z "${MONGO_HOST}" ]]; then
32
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
33
- exit 255
+ sleep infinity
34
else
35
echo "*** Waiting for MONGO_HOST ${MONGO_HOST} to be reachable. ***"
36
DBCOUNT=0
@@ -41,7 +41,7 @@ if [[ ! -e /config/data/system.properties ]]; then
41
DBCOUNT=$((DBCOUNT+1))
42
if [[ ${DBCOUNT} -gt 6 ]]; then
43
echo "*** Defined MONGO_HOST ${MONGO_HOST} is not reachable, cannot proceed. ***"
44
45
fi
46
sleep 5
47
done
0 commit comments