From: Vladimír Čunát Date: Wed, 20 Oct 2021 09:10:47 +0000 (+0200) Subject: systemd: add interaction with nss-lookup.target X-Git-Tag: v5.4.3~18^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fenvironments%2Fobs-knot-resolver-bs4hbr%2Fdeployments%2F1898;p=thirdparty%2Fknot-resolver.git systemd: add interaction with nss-lookup.target The point is to allow other services wait for DNS availability. Of course, kresd may not be the DNS provider for this machine, but it seems reasonable to still do this by default. --- diff --git a/systemd/kresd@.service.in b/systemd/kresd@.service.in index f43fb77fb..adb303adb 100644 --- a/systemd/kresd@.service.in +++ b/systemd/kresd@.service.in @@ -7,6 +7,8 @@ Wants=kres-cache-gc.service Before=kres-cache-gc.service Wants=network-online.target After=network-online.target +Before=nss-lookup.target +Wants=nss-lookup.target [Service] Type=notify