Watch
0
0
Fork
You've already forked hyperhive
0

fix(matrix): the deferred starter logs the state its boot ended in

A degraded guest still starts the services, and now the journal says so next
to the start. The VM test pins the line.
This commit is contained in:
maia 2026-11-28 06:13:12 +01:00 • committed by mara
commit c12e231d32

View file

@ -1013,7 +1013,7 @@ let
&& starter.wantedBy == [ "multi-user.target" ]
&& starter.serviceConfig.Type == "simple"
&& !(bootWait.holdsJob starter)
&& lib.hasInfix "systemctl is-system-running --wait >/dev/null || true\nsystemctl start --no-block tuwunel.service" starter.script
&& lib.hasInfix "state=$(systemctl is-system-running --wait || true)\necho \"swarm-container-deferred-start: the boot ended $state; starting tuwunel\"\nsystemctl start --no-block tuwunel.service" starter.script
&& !(lib.elem "tuwunel.service" booted)
&& lib.elem "swarm-container-deferred-start.service" booted
&& lib.elem "swarm-matrix-appservice-sync.service" booted