summaryrefslogtreecommitdiff
path: root/extra/bind/named.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bind/named.service')
-rw-r--r--extra/bind/named.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/bind/named.service b/extra/bind/named.service
new file mode 100644
index 000000000..1a7832edc
--- /dev/null
+++ b/extra/bind/named.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Internet domain name server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/named -f -u named
+ExecReload=/usr/bin/rndc reload
+ExecStop=/usr/bin/rndc stop
+
+[Install]
+WantedBy=multi-user.target