nixos/systemd: ip-up and network-online targets should come after networkd-wait-online
This commit is contained in:
parent
c234e7b115
commit
0626c1ecf0
@ -1027,7 +1027,10 @@ in
|
|||||||
restartTriggers = [ config.environment.etc."systemd/network".source ];
|
restartTriggers = [ config.environment.etc."systemd/network".source ];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.systemd-networkd-wait-online.wantedBy = [ "network-online.target" ];
|
systemd.services.systemd-networkd-wait-online = {
|
||||||
|
before = [ "network-online.target" "ip-up.target" ];
|
||||||
|
wantedBy = [ "network-online.target" "ip-up.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
systemd.services."systemd-network-wait-online@" = {
|
systemd.services."systemd-network-wait-online@" = {
|
||||||
description = "Wait for Network Interface %I to be Configured";
|
description = "Wait for Network Interface %I to be Configured";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user