systemd.service 340 B

1234567891011121314
  1. [Unit]
  2. Description=Technitium DNS Server
  3. [Service]
  4. WorkingDirectory=/opt/technitium/dns
  5. ExecStart=/usr/bin/dotnet /opt/technitium/dns/DnsServerApp.dll /etc/dns
  6. Restart=always
  7. # Restart service after 10 seconds if the dotnet service crashes:
  8. RestartSec=10
  9. KillSignal=SIGINT
  10. SyslogIdentifier=dns-server
  11. [Install]
  12. WantedBy=multi-user.target