diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-08 17:25:31 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-08 17:26:34 +0100 |
commit | cbd9e9e01f89c68b25d108a78600521c2cb52039 (patch) | |
tree | 8bc53d3b0b20a27a8645780633a53c8f97e3de54 /nixos/modules/services/networking/tinydns.nix | |
parent | a2429cffa3451f3d5c8e80a295663fef0a96bd9b (diff) | |
download | nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.tar nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.tar.gz nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.tar.bz2 nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.tar.lz nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.tar.xz nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.tar.zst nixpkgs-cbd9e9e01f89c68b25d108a78600521c2cb52039.zip |
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.
Diffstat (limited to 'nixos/modules/services/networking/tinydns.nix')
-rw-r--r-- | nixos/modules/services/networking/tinydns.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/tinydns.nix b/nixos/modules/services/networking/tinydns.nix index 7b2c464ab46..79507b2ebcd 100644 --- a/nixos/modules/services/networking/tinydns.nix +++ b/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 |