diff options
Diffstat (limited to 'community/nsd/service')
-rw-r--r-- | community/nsd/service | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/community/nsd/service b/community/nsd/service index ca423c29c..b6125a686 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 +PIDFile=/run/nsd/nsd.pid +ExecStart=/usr/bin/nsd -c /etc/nsd/nsd.conf +ExecReload=/bin/kill -HUP $MAINPID +ExecStop=/bin/kill -TERM $MAINPID [Install] WantedBy=multi-user.target |