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:
parent
3919de6358
commit
c12e231d32
1 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue