aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/contrib/unbound.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/contrib/unbound.service.in')
-rw-r--r--contrib/unbound/contrib/unbound.service.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/unbound/contrib/unbound.service.in b/contrib/unbound/contrib/unbound.service.in
index 8a5d3b2b0189..cc8d0ed2dab3 100644
--- a/contrib/unbound/contrib/unbound.service.in
+++ b/contrib/unbound/contrib/unbound.service.in
@@ -38,11 +38,17 @@
; - `LockPersonality=yes` locks down the personality system call so that the
; kernel execution domain may not be changed from the default.
;
+; - With /etc/systemd/network/*.network a setting to make sure the network
+; is not considered online too early, can reduce network unreachable
+; errors on server start:
+; [Link]
+; RequiredForOnline=routable
;
[Unit]
Description=Validating, recursive, and caching DNS resolver
Documentation=man:unbound(8)
After=network-online.target
+Wants=network-online.target
Before=nss-lookup.target
[Install]