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:
2
start.sh
2
start.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user