1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-11-05 00:52:34 +00:00

Use SYNC_PORT instead

This commit is contained in:
Girish Ramakrishnan
2018-02-26 14:46:02 -08:00
parent 9e7649fe36
commit 7a9f077e99
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ if [ ! -f /app/data/config/config.xml ]; then
fi
# Set the listenAddress and the gui enabled to make sure user doesnt lock themselves out by accident.
sed -e "s,<listenAddress>.*</listenAddress>,<listenAddress>tcp://:${SYNCER_PORT}</listenAddress>," -i /app/data/config/config.xml
sed -e "s,<listenAddress>.*</listenAddress>,<listenAddress>tcp://:${SYNC_PORT}</listenAddress>," -i /app/data/config/config.xml
sed -e 's,<gui .*>,<gui enabled="true" tls="false" debugging="false">,' -i /app/data/config/config.xml
chown -R cloudron:cloudron /app/data/config /app/data