trust-dns: make it a dependency of "network-online.target"
This commit is contained in:
@@ -126,6 +126,7 @@ let
|
|||||||
description = "trust-dns Domain Name Server (serving ${flavor})";
|
description = "trust-dns Domain Name Server (serving ${flavor})";
|
||||||
unitConfig.Documentation = "https://trust-dns.org/";
|
unitConfig.Documentation = "https://trust-dns.org/";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
before = [ "network-online.target" ]; # most things assume they'll have DNS services alongside routability
|
||||||
wantedBy = [ "network.target" ];
|
wantedBy = [ "network.target" ];
|
||||||
|
|
||||||
preStart = lib.concatStringsSep "\n" (
|
preStart = lib.concatStringsSep "\n" (
|
||||||
|
Reference in New Issue
Block a user