Apply example_ynh

This commit is contained in:
yalh76
2022-07-28 01:25:51 +02:00
parent 54abf0a8d5
commit a81f54c401
14 changed files with 147 additions and 309 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
[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
@@ -11,4 +15,4 @@ KillSignal=SIGINT
SyslogIdentifier=dns-server
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target