logrotate.conf hinzugefügt
This commit is contained in:
15
logrotate.conf
Normal file
15
logrotate.conf
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/var/log/*.log
|
||||||
|
/var/log/**/*.log
|
||||||
|
/var/log/*.gz
|
||||||
|
/var/log/**/*.gz {
|
||||||
|
daily
|
||||||
|
rotate 0
|
||||||
|
maxage 60
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
compress
|
||||||
|
sharedscripts
|
||||||
|
postrotate
|
||||||
|
/usr/lib/rsyslog/rsyslog-rotate 2>/dev/null || true
|
||||||
|
endscript
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user