order the store's readers after its container without wanting it
This commit is contained in:
parent
b1c828dbf8
commit
868c57321c
1 changed files with 37 additions and 28 deletions
|
|
@ -365,6 +365,8 @@ let
|
|||
{
|
||||
# The store's units exist only on its host. The PKI unit is wanted, never
|
||||
# required: a refused pki start fails a requirer's job with `dependency`.
|
||||
# The container is waited for, not wanted: a `Wants=` would start it
|
||||
# mid-switch on the old closure.
|
||||
name = "the hive collector's fetch waits for the store's container and PKI unit only where the store runs here";
|
||||
ok =
|
||||
let
|
||||
|
|
@ -378,7 +380,7 @@ let
|
|||
lib.all (n: lib.elem n here.after) (storeUnits hiveOtelAllLocal)
|
||||
&& lib.elem "swarm-bao-pki.service" here.wants
|
||||
&& !(lib.elem "swarm-bao-pki.service" here.requires)
|
||||
&& lib.elem "container@${hiveOtelAllLocal.services.hyperhive.swarm.bao.machine}.service" here.wants
|
||||
&& !(lib.elem "container@${hiveOtelAllLocal.services.hyperhive.swarm.bao.machine}.service" here.wants)
|
||||
&& !(lib.any (n: lib.elem n (elsewhere.after ++ elsewhere.wants ++ elsewhere.requires)) (
|
||||
storeUnits hiveOtelLeaf
|
||||
));
|
||||
|
|
|
|||
Loading…
Reference in a new issue