trust-dns: make it a dependency of "network-online.target"

This commit is contained in:
2024-08-02 04:54:58 +00:00
parent 515aab5370
commit 3eb66c098b

View File

@@ -126,6 +126,7 @@ let
description = "trust-dns Domain Name Server (serving ${flavor})";
unitConfig.Documentation = "https://trust-dns.org/";
after = [ "network.target" ];
before = [ "network-online.target" ]; # most things assume they'll have DNS services alongside routability
wantedBy = [ "network.target" ];
preStart = lib.concatStringsSep "\n" (