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