summaryrefslogtreecommitdiff
path: root/community/nsd/service
diff options
context:
space:
mode:
Diffstat (limited to 'community/nsd/service')
-rw-r--r--community/nsd/service14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/nsd/service b/community/nsd/service
new file mode 100644
index 000000000..37649f557
--- /dev/null
+++ b/community/nsd/service
@@ -0,0 +1,14 @@
+[Unit]
+Description=NSD Name Server Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/nsd.pid
+ExecStart=/usr/sbin/nsd start
+ExecReload=/usr/sbin/nsd reload
+ExecStop=/usr/sbin/nsd stop
+Restart=always
+
+[Install]
+WantedBy=multi-user.target