systemd service config added

This commit is contained in:
Shreyas Zare
2018-12-30 16:47:30 +05:30
parent ea23f78a09
commit 1c6240364b

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Technitium DNS Service
[Service]
WorkingDirectory=/etc/dns
ExecStart=/usr/bin/dotnet /etc/dns/DnsServerApp.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dns-service
[Install]
WantedBy=multi-user.target