fix: prevented systemd blocking

This commit is contained in:
tomnewton-mulga
2026-04-16 17:58:54 +10:00
parent d8924a2ecc
commit 72503cd7ae
+7
View File
@@ -87,6 +87,10 @@ Type=oneshot
Environment=HOME=/root
ExecStart=/usr/local/bin/spinifex-firstboot.sh
RemainAfterExit=yes
# Cap total firstboot runtime so a hang in setup-ovn.sh / spx admin init /
# ovn-central startup cannot wedge multi-user.target and keep getty from
# ever reaching the login prompt.
TimeoutStartSec=180s
StandardOutput=journal
StandardError=journal
@@ -111,6 +115,9 @@ Wants=spinifex.target
Type=oneshot
ExecStart=/usr/local/bin/spx admin banner --boot-check
RemainAfterExit=yes
# Banner is oneshot; cap it so a stuck boot-check (IP detection, try-restart)
# cannot block getty via the spinifex-wait.conf drop-in.
TimeoutStartSec=30s
StandardOutput=journal
StandardError=journal