Let turnstile supervise Syncthing restarts

This commit is contained in:
Fabio Scotto di Santolo
2026-04-21 12:52:37 +02:00
parent a16fd2210a
commit 8410ea2af5

View File

@@ -3,7 +3,7 @@
set -eu
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
exec chpst -e "$TURNSTILE_ENV_DIR" syncthing serve --no-browser --logfile=default
exec chpst -e "$TURNSTILE_ENV_DIR" syncthing serve --no-browser --no-restart --logfile=default
fi
exec syncthing serve --no-browser --logfile=default
exec syncthing serve --no-browser --no-restart --logfile=default