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 42b093a commit 617327cCopy full SHA for 617327c
root/etc/s6-overlay/s6-rc.d/init-unifi-network-application-config/run
@@ -25,10 +25,10 @@ if [[ ! -e /config/data/system.properties ]]; then
25
exit 1
26
else
27
sed -i "s/~MONGO_USER~/${MONGO_USER}/" /defaults/system.properties
28
- sed -i "s/~MONGO_PASS~/${MONGO_PASS}/" /defaults/system.properties
29
sed -i "s/~MONGO_HOST~/${MONGO_HOST}/" /defaults/system.properties
30
sed -i "s/~MONGO_PORT~/${MONGO_PORT}/" /defaults/system.properties
31
sed -i "s/~MONGO_DBNAME~/${MONGO_DBNAME}/" /defaults/system.properties
+ sed -i "s/~MONGO_PASS~/${MONGO_PASS}/" /defaults/system.properties
32
cp /defaults/system.properties /config/data
33
fi
34
0 commit comments