forked from M-Labs/it-infra
nixbld: work around tunnel bring-up race condition
This commit is contained in:
parent
90a6b84c09
commit
233998b8f3
|
@ -272,6 +272,11 @@ in
|
|||
start_action = "start";
|
||||
};
|
||||
};
|
||||
# prevent race condition similar to https://github.com/NixOS/nixpkgs/issues/27070
|
||||
systemd.services.strongswan-swanctl = {
|
||||
after = [ "network-addresses-alt0.service" ];
|
||||
requires = [ "network-addresses-alt0.service" ];
|
||||
};
|
||||
|
||||
systemd.services.network-custom-route-backup = {
|
||||
wantedBy = [ "network.target" ];
|
||||
|
|
Loading…
Reference in New Issue