1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=NSD Name Server Daemon After=network.target [Service] 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