Merge pull request #64621 from gloaming/dhcpcd-before-network-online

nixos/dhcpcd: Before network-online.target
This commit is contained in:
Florian Klink 2019-07-12 12:48:01 +02:00 committed by GitHub
commit a234b91271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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