dhcpcd: Don't use --background so that fetch-ec2-data can be ordered after it

This commit is contained in:
Eelco Dolstra 2012-11-02 14:20:05 +01:00
parent af4e176c12
commit 6ae0b3beed
2 changed files with 2 additions and 1 deletions

View file

@ -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";
}; };

View file

@ -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 ];