copr: fe: compress rotated logs
This is disturbing on staging instance where is small disk. We often have to cleanup the logs manually.
This commit is contained in:
parent
6417274940
commit
60ad73d1ad
1 changed files with 1 additions and 1 deletions
|
@ -2,10 +2,10 @@
|
|||
|
||||
/var/log/httpd/*log {
|
||||
missingok
|
||||
compress
|
||||
rotate 5
|
||||
notifempty
|
||||
sharedscripts
|
||||
delaycompress
|
||||
postrotate
|
||||
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
|
||||
endscript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue