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 b5696dc commit 8f96e5dCopy full SHA for 8f96e5d
root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run
@@ -22,10 +22,10 @@ done
22
if [[ ! -e /config/data/system.properties ]]; then
23
if [[ -z "${MONGO_HOST}" ]]; then
24
echo "*** No MONGO_HOST set, cannot configure database settings. ***"
25
- exit 1
+ sleep infinity
26
elif ! nc -w1 "${MONGO_HOST}" ${MONGO_PORT}; then
27
echo "*** Defined MONGO_HOST is not reachable, cannot proceed. ***"
28
29
else
30
sed -i "s/~MONGO_USER~/${MONGO_USER}/" /defaults/system.properties
31
sed -i "s/~MONGO_HOST~/${MONGO_HOST}/" /defaults/system.properties
0 commit comments