Manage Syncthing with turnstile service

This commit is contained in:
Fabio Scotto di Santolo
2026-04-20 16:34:51 +02:00
parent 4f7a439663
commit ec564c6814
3 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/sh
exec svlogd -tt ./main

View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
exec chpst -e "$TURNSTILE_ENV_DIR" syncthing serve --no-browser --logfile=default
fi
exec syncthing serve --no-browser --logfile=default