- [Unit]
- Description=Technitium DNS Server
- [Service]
- WorkingDirectory=/opt/technitium/dns
- ExecStart=/usr/bin/dotnet /opt/technitium/dns/DnsServerApp.dll /etc/dns
- Restart=always
- # Restart service after 10 seconds if the dotnet service crashes:
- RestartSec=10
- KillSignal=SIGINT
- SyslogIdentifier=dns-server
- [Install]
- WantedBy=multi-user.target
|