KF2-SRV/SOURCES/logrotate-kf2-srv

17 lines
270 B
Plaintext
Raw Normal View History

2020-07-08 23:06:14 +00:00
/var/log/kf2-srv/*.log
/var/log/kf2-srv-beta/*.log
{
daily
missingok
rotate 7
create 0644
missingok
compress
notifempty
postrotate
test -s /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid)
# postrotate script should always return 0
true
endscript
}