feat: Add systemd file and data to integrate the app as a daemon

This commit is contained in:
Sven Sager
2023-10-07 17:15:12 +02:00
committed by Sven Sager
parent c1bd98c444
commit 0380311a9d
4 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/var/log/revpi-middleware.log
{
rotate 6
weekly
maxsize 1M
compress
delaycompress
missingok
notifempty
sharedscripts
postrotate
systemctl kill --signal=SIGUSR1 revpi-middleware > /dev/null 2>&1 || true
endscript
}