Let turnstile supervise Syncthing restarts

This commit is contained in:
Fabio Scotto di Santolo
2026-04-21 12:52:37 +02:00
parent 5c1199f6f8
commit 145b5de0d5

View File

@@ -3,7 +3,7 @@
set -eu set -eu
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then 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 fi
exec syncthing serve --no-browser --logfile=default exec syncthing serve --no-browser --no-restart --logfile=default