angie/angie.logrotate
2022-11-04 00:31:26 +03:00

13 lines
293 B
Text

/var/log/angie/*log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
# USR1 forcing reopening of log file to prevent "holding" it after logrotate
[ ! -f /run/angie.pid ] || kill -USR1 "$(cat /run/angie.pid)"
endscript
}