summaryrefslogtreecommitdiff
path: root/community/nsd/service
diff options
context:
space:
mode:
Diffstat (limited to 'community/nsd/service')
-rw-r--r--community/nsd/service7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/nsd/service b/community/nsd/service
index ca423c29c..d5e2d14b4 100644
--- a/community/nsd/service
+++ b/community/nsd/service
@@ -3,11 +3,10 @@ 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
+ExecStart=/usr/bin/nsd -c /etc/nsd/nsd.conf
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStop=/bin/kill -TERM $MAINPID
[Install]
WantedBy=multi-user.target