1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=NSD authoritative DNS server Wants=network.target After=network.target [Service] Type=forking ExecStartPre=/usr/bin/install -d -o nsd -g nsd /run/nsd ExecStart=/usr/sbin/nsd KillMode=mixed PIDFile=/run/nsd/nsd.pid [Install] WantedBy=multi-user.target