summaryrefslogtreecommitdiff
path: root/net-dns/unbound/files/unbound.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns/unbound/files/unbound.service')
-rw-r--r--net-dns/unbound/files/unbound.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-dns/unbound/files/unbound.service b/net-dns/unbound/files/unbound.service
new file mode 100644
index 000000000000..41dd6fabd290
--- /dev/null
+++ b/net-dns/unbound/files/unbound.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Unbound recursive Domain Name Server
+After=network.target
+Before=nss-lookup.target
+Wants=nss-lookup.target
+
+[Service]
+ExecStartPre=/usr/sbin/unbound-checkconf
+ExecStart=/usr/sbin/unbound -d
+
+[Install]
+WantedBy=multi-user.target