1
0
mirror of https://git.cloudron.io/cloudron/syncthing-app synced 2025-09-16 18:29:06 +00:00

app running failure fixed

This commit is contained in:
Vladimir D
2025-08-12 14:10:06 +04:00
parent bddaade12e
commit 19b12a149d
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,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"
STNODEFAULTFOLDER=1 /app/code/syncthing --generate="/app/data/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
# urAccepted is 0 for not decided, -1 for no reporting

View File

@@ -3,7 +3,7 @@ priority=20
environment=HOME=/app/data/folders,STNOUPGRADE=1
; -no-browser opens up the browser (for desktop app preumably)
; auditfile "-" means log to stdout
command=/app/code/syncthing -gui-address=127.0.0.1:3000 -home=/app/data/config -no-browser -auditfile=-
command=/app/code/syncthing serve --gui-address=127.0.0.1:3000 --home=/app/data/config --no-browser --auditfile=-
user=cloudron
autostart=true
autorestart=true