1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nixos/dhcpcd: Before network-online.target

Instead of network.target. Fixes #60900 (delayed boot).
This commit is contained in:
Craig Hall 2019-05-12 16:45:20 +01:00
parent 95395fbf54
commit 2ae58dfc79

View file

@ -162,7 +162,7 @@ in
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
wants = [ "network.target" "systemd-udev-settle.service" ];
before = [ "network.target" ];
before = [ "network-online.target" ];
after = [ "systemd-udev-settle.service" ];
# Stopping dhcpcd during a reconfiguration is undesirable