adjust logging for v15 changes

This commit is contained in:
trendless
2026-06-15 18:39:50 -06:00
parent 4f74409542
commit efee1e5c05
8 changed files with 49 additions and 37 deletions
+1
View File
@@ -0,0 +1 @@
0,15,30,45 0 * * * ln -sf $(ls -t /var/log/__APP__/dns/*.log | head -n 1) /var/log/__APP__/__APP__.log
+1 -1
View File
@@ -9,10 +9,10 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/sources/
ExecStart=__INSTALL_DIR__/dotnet/dotnet __INSTALL_DIR__/sources/DnsServerApp.dll __DATA_DIR__
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dns-server
Environment=DNS_SERVER_LOG_FOLDER_PATH=/var/log/__APP__/dns
[Install]
WantedBy=multi-user.target