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.
wip/yesman
Florian Klink 5 years ago
parent a2429cffa3
commit cbd9e9e01f
  1. 1
      nixos/modules/services/networking/tinydns.nix

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

Loading…
Cancel
Save