3
0
Fork 0
forked from mirrors/nixpkgs

nixos/tinydns: order service after network.target

In cases where you boot up really quickly (like in the VM test on a
non-busy host), tinydns might want to bind before the loopback interface
is fully up. Order tinydns after network.target to fix that.
This commit is contained in:
Florian Klink 2019-11-08 17:25:31 +01:00
parent a2429cffa3
commit cbd9e9e01f

View file

@ -37,6 +37,7 @@ with lib;
systemd.services.tinydns = {
description = "djbdns tinydns server";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
path = with pkgs; [ daemontools djbdns ];
preStart = ''
rm -rf /var/lib/tinydns