summaryrefslogtreecommitdiff
path: root/community/unbound/unbound.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/unbound/unbound.service')
-rw-r--r--community/unbound/unbound.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/unbound/unbound.service b/community/unbound/unbound.service
new file mode 100644
index 000000000..8b3c9576b
--- /dev/null
+++ b/community/unbound/unbound.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Unbound DNS Resolver
+
+[Service]
+PIDFile=/run/unbound.pid
+ExecStart=/usr/sbin/unbound -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target