From 3d8ea247819303f2772650c3c89c5a8d907b4f72 Mon Sep 17 00:00:00 2001 From: Shane Perry Date: Wed, 7 Jun 2017 17:26:33 -0500 Subject: [PATCH] Adds back some config settings in order to confirm they are set on each startup --- start.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 38191a1..abacc3a 100755 --- a/start.sh +++ b/start.sh @@ -11,7 +11,6 @@ if [ ! -f /app/data/config/config.xml ]; then /app/code/syncthing --generate="/app/data/config" # don't take the whole volume with the default so that we can add additional folders sed -i "s/path=\"\/root\/Sync\/\" /path=\"\/app\/data\/default\/\"/g" /app/data/config/config.xml - sed -e 's,.*,tcp://:22000,' -i /app/data/config/config.xml fi cat >/run/ldap.conf <.*,tcp://:22000,' -i /app/data/config/config.xml +sed -e 's,,,' -i /app/data/config/config.xml + export STNODEFAULTFOLDER=1 STNOUPGRADE=1 exec busybox init