summaryrefslogtreecommitdiff
path: root/net-dns/unbound/files/unbound-anchor.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/unbound/files/unbound-anchor.service')
-rw-r--r--net-dns/unbound/files/unbound-anchor.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-dns/unbound/files/unbound-anchor.service b/net-dns/unbound/files/unbound-anchor.service
new file mode 100644
index 000000000000..f55cf9db5d1e
--- /dev/null
+++ b/net-dns/unbound/files/unbound-anchor.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Update of the root trust anchor for DNSSEC validation
+After=network.target
+Before=nss-lookup.target
+Wants=nss-lookup.target
+Before=unbound.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/sbin/unbound-anchor
+
+[Install]
+WantedBy=multi-user.target