fix: reduce TimeoutStopSec from 660s to 15s
Some checks failed
Build Archipelago ISO / build-iso (push) Has been cancelled
Build Archipelago ISO (dev) / build-iso (push) Has been cancelled

The backend shuts down in <1s. The 660s timeout was left from when
Bitcoin Core was managed by this service. With 660s, systemctl stop
hangs for 11 minutes if the process is already dead but systemd
hasn't noticed, blocking all deploys and restarts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-04-01 18:25:13 +01:00
parent 7cb5c13627
commit 02f73a4789

View File

@@ -16,8 +16,8 @@ Restart=on-failure
RestartSec=5
WatchdogSec=300
TimeoutStartSec=300
# Bitcoin Core needs up to 600s to flush UTXO set on shutdown
TimeoutStopSec=660
# Backend shuts down in <1s; 15s is generous for any cleanup
TimeoutStopSec=15
# Filesystem protection
ProtectSystem=strict