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:
Pavel Raiskup 2019-10-04 11:06:26 +02:00 committed by Pierre-Yves Chibon
parent 6417274940
commit 60ad73d1ad

View file

@ -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