3dd0f65
[Unit]
3dd0f65
Description=NSD DNS Server
3dd0f65
After=syslog.target network.target
0357b8e
After=nsd-keygen.service
0357b8e
Wants=nsd-keygen.service
3dd0f65
3dd0f65
[Service]
4101ba1
Type=simple
3dd0f65
PIDFile=/var/run/nsd/nsd.pid
0357b8e
EnvironmentFile=-/etc/sysconfig/nsd
0357b8e
ExecStart=/usr/sbin/nsd -d -c /etc/nsd/nsd.conf $NSD_EXTRA_OPTS
0357b8e
ExecReload=/bin/kill -HUP $MAINPID
0357b8e
KillMode=mixed
0357b8e
PrivateTmp=true
3dd0f65
3dd0f65
[Install]
3dd0f65
WantedBy=multi-user.target