3
0
Fork 0
forked from mirrors/nixpkgs

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 =
{ 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";
};

View file

@ -13,6 +13,7 @@ with pkgs.lib;
wantedBy = [ "multi-user.target" ];
before = [ "sshd.service" ];
after = [ "dhcpcd.service" ];
path = [ pkgs.curl pkgs.iproute ];