forked from mirrors/nixpkgs
dhcpcd: Don't use --background so that fetch-ec2-data can be ordered after it
This commit is contained in:
parent
af4e176c12
commit
6ae0b3beed
|
@ -101,7 +101,7 @@ in
|
|||
serviceConfig =
|
||||
{ Type = "forking";
|
||||
PIDFile = "/run/dhcpcd.pid";
|
||||
ExecStart = "@${dhcpcd}/sbin/dhcpcd dhcpcd --config ${dhcpcdConf} --background";
|
||||
ExecStart = "@${dhcpcd}/sbin/dhcpcd dhcpcd --config ${dhcpcdConf}";
|
||||
ExecReload = "${dhcpcd}/sbin/dhcpcd --rebind";
|
||||
StandardError = "null";
|
||||
};
|
||||
|
|
|
@ -13,6 +13,7 @@ with pkgs.lib;
|
|||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
before = [ "sshd.service" ];
|
||||
after = [ "dhcpcd.service" ];
|
||||
|
||||
path = [ pkgs.curl pkgs.iproute ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue