systemd.service 309 B

1234567891011121314
  1. [Unit]
  2. Description=Technitium DNS Server
  3. [Service]
  4. WorkingDirectory=/etc/dns
  5. ExecStart=/usr/bin/dotnet /etc/dns/DnsServerApp.dll
  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