diff --git a/start.sh b/start.sh index 1ed814b..418f842 100755 --- a/start.sh +++ b/start.sh @@ -6,7 +6,7 @@ mkdir -p /app/data/config /app/data/folders /run/syncthing # if this if the first run, generate a useful config if [[ ! -f /app/data/config/config.xml ]]; then - echo "=> Generating config" + echo "==> Generating config" STNODEFAULTFOLDER=1 /app/code/syncthing generate --home="/app/data/config" # The password value (changeme) was determined by reading config.xml and setting value in the GUI @@ -31,12 +31,11 @@ if [[ -n ${CLOUDRON_LDAP_HOST:-} ]]; then /app/data/config/config.xml fi - # Set the listenAddress and the gui enabled to make sure user doesnt lock themselves out by accident. sed -e "s,.*,tcp://:${SYNC_PORT}," -i /app/data/config/config.xml sed -e 's,,,' -i /app/data/config/config.xml chown -R cloudron:cloudron /app/data /run/syncthing -echo "Starting supervisor" +echo "==> Starting supervisor" exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i syncthing