WIP: ...
This commit is contained in:
17
SOURCES/main/logrotate/kf2-srv
Normal file
17
SOURCES/main/logrotate/kf2-srv
Normal file
@ -0,0 +1,17 @@
|
||||
/var/log/kf2-srv/*.log
|
||||
/var/log/kf2-srv-beta/*.log
|
||||
{
|
||||
su root steam
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user