Wed Jul 8 2020

This commit is contained in:
2020-07-09 02:06:14 +03:00
parent 7f2d161bb4
commit cf3f9e1c7c
6 changed files with 75 additions and 10 deletions

16
SOURCES/logrotate-kf2-srv Normal file
View File

@ -0,0 +1,16 @@
/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
}