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

19 lines
427 B
SYSTEMD
Raw Normal View History

2022-07-04 12:17:41 +02:00
[Unit]
2022-07-04 13:07:56 +02:00
Description=Technitium DNS Server
2022-07-28 01:25:51 +02:00
After=network.target
2022-07-04 12:17:41 +02:00
[Service]
2022-07-28 01:25:51 +02:00
Type=simple
User=__APP__
Group=__APP__
2024-03-07 17:13:03 +01:00
WorkingDirectory=__INSTALL_DIR__/sources/
ExecStart=__INSTALL_DIR__/dotnet/dotnet __INSTALL_DIR__/sources/DnsServerApp.dll __DATA_DIR__
2022-07-04 13:07:56 +02:00
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dns-server
2022-07-04 12:17:41 +02:00
[Install]
2022-07-28 01:25:51 +02:00
WantedBy=multi-user.target