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 {
|
/var/log/httpd/*log {
|
||||||
missingok
|
missingok
|
||||||
|
compress
|
||||||
rotate 5
|
rotate 5
|
||||||
notifempty
|
notifempty
|
||||||
sharedscripts
|
sharedscripts
|
||||||
delaycompress
|
|
||||||
postrotate
|
postrotate
|
||||||
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
|
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue