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

First version

This commit is contained in:
Dennis Schwerdel
2017-05-05 13:19:38 +02:00
commit 926352e879
18 changed files with 776 additions and 0 deletions

15
start.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
set -eu
mkdir -p /app/data/data /app/data/config
if ! [ -f /app/data/config/config.xml ]; then
cp /app/code/config.xml.default /app/data/config/config.xml
fi
sed -e 's,<listenAddress>.*</listenAddress>,<listenAddress>tcp://:22000</listenAddress>,' -i /app/data/config/config.xml
export STNODEFAULTFOLDER=1 STNOUPGRADE=1
exec busybox init