KF2-SRV/SOURCES/logrotate-kf2-srv
2020-07-09 02:06:14 +03:00

17 lines
270 B
Plaintext

/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
}