Skip to content

Commit

Permalink
Merge pull request #44524 from vincentbernat/fix/dhcpcd-systemd
Browse files Browse the repository at this point in the history
dhcpcd service: order before network target
  • Loading branch information
fpletz committed Aug 13, 2018
2 parents 3d43640 + 48f7778 commit 0371570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/dhcpcd.nix
Expand Up @@ -161,8 +161,8 @@ in
{ description = "DHCP Client";

wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
after = [ "network.target" ];
wants = [ "network.target" ];
before = [ "network.target" ];

# Stopping dhcpcd during a reconfiguration is undesirable
# because it brings down the network interfaces configured by
Expand Down

0 comments on commit 0371570

Please sign in to comment.