mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Let turnstile supervise Syncthing restarts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user