adjust logging for v15 changes
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user