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