feat: rotate logs using libretime user

This commit is contained in:
jo 2022-05-04 15:38:58 +02:00 committed by Kyle Robbertze
parent 137e76ff00
commit bc6b43c43c
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
/var/log/libretime/legacy.log {
su www-data www-data
compress
rotate 10
size 1000k
@ -6,6 +7,5 @@
notifempty
sharedscripts
postrotate
chown www-data:www-data /var/log/airtime/
endscript
}

View File

@ -1,4 +1,5 @@
/var/log/libretime/liquidsoap.log {
su www-data www-data
compress
rotate 10
size 1000k