1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/technitium-dns_ynh.git synced 2024-09-03 20:26:36 +02:00
technitium-dns_ynh/conf/systemd.service
2022-07-28 01:25:51 +02:00

18 lines
392 B
Desktop File

[Unit]
Description=Technitium DNS Server
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=/usr/bin/dotnet __FINALPATH__/DnsServerApp.dll __DATADIR__
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dns-server
[Install]
WantedBy=multi-user.target