Skip to content

Commit 1172453

Browse files
committed
revert sleep changes
1 parent b2e9b74 commit 1172453

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config

root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030
if [[ ! -e /config/data/system.properties ]]; then
3131
if [[ -z "${MONGO_HOST}" ]]; then
3232
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
33-
exit 255
33+
sleep infinity
3434
else
3535
echo "*** Waiting for MONGO_HOST ${MONGO_HOST} to be reachable. ***"
3636
DBCOUNT=0
@@ -41,7 +41,7 @@ if [[ ! -e /config/data/system.properties ]]; then
4141
DBCOUNT=$((DBCOUNT+1))
4242
if [[ ${DBCOUNT} -gt 6 ]]; then
4343
echo "*** Defined MONGO_HOST ${MONGO_HOST} is not reachable, cannot proceed. ***"
44-
exit 255
44+
sleep infinity
4545
fi
4646
sleep 5
4747
done

0 commit comments

Comments
 (0)