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
2 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,7 @@ in
|
||||||
serviceConfig =
|
serviceConfig =
|
||||||
{ Type = "forking";
|
{ Type = "forking";
|
||||||
PIDFile = "/run/dhcpcd.pid";
|
PIDFile = "/run/dhcpcd.pid";
|
||||||
ExecStart = "@${dhcpcd}/sbin/dhcpcd dhcpcd --config ${dhcpcdConf} --background";
|
ExecStart = "@${dhcpcd}/sbin/dhcpcd dhcpcd --config ${dhcpcdConf}";
|
||||||
ExecReload = "${dhcpcd}/sbin/dhcpcd --rebind";
|
ExecReload = "${dhcpcd}/sbin/dhcpcd --rebind";
|
||||||
StandardError = "null";
|
StandardError = "null";
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,6 +13,7 @@ with pkgs.lib;
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
before = [ "sshd.service" ];
|
before = [ "sshd.service" ];
|
||||||
|
after = [ "dhcpcd.service" ];
|
||||||
|
|
||||||
path = [ pkgs.curl pkgs.iproute ];
|
path = [ pkgs.curl pkgs.iproute ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue