Skip to content

Commit

Permalink
Merge pull request #64621 from gloaming/dhcpcd-before-network-online
Browse files Browse the repository at this point in the history
nixos/dhcpcd: Before network-online.target
  • Loading branch information
flokli committed Jul 12, 2019
2 parents 3019a68 + 2ae58df commit a234b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/dhcpcd.nix
Expand Up @@ -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
Expand Down

0 comments on commit a234b91

Please sign in to comment.