Fix FreeBSD rc.d restart behavior and poller lifecycle

This commit is contained in:
svemagie
2026-03-09 21:08:56 +01:00
parent 529fa81cd0
commit 31129c48e1
4 changed files with 338 additions and 58 deletions

View File

@@ -38,6 +38,18 @@ WEBMENTION_SENDER_ORIGIN=
# Example: http://127.0.0.1:3000/webmention-sender
WEBMENTION_SENDER_ENDPOINT=
# Wait up to this many seconds for endpoint readiness before first poll
WEBMENTION_SENDER_READY_TIMEOUT=60
# Graceful stop timeout for webmention poller during shutdown (seconds)
WEBMENTION_SENDER_STOP_TIMEOUT=5
# Graceful stop timeout for Indiekit process during shutdown (seconds)
INDIEKIT_STOP_TIMEOUT=20
# If parent process is FreeBSD daemon(8), terminate it during shutdown (1/0)
KILL_DAEMON_PARENT_ON_SHUTDOWN=1
# Optional webmentions proxy endpoint settings
# Default mount path in indiekit.config.mjs is /webmentions-api
WEBMENTIONS_PROXY_MOUNT_PATH=/webmentions-api