From 60ad73d1adb95a8274dc66732614ed04de3370b0 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 4 Oct 2019 11:06:26 +0200 Subject: [PATCH] copr: fe: compress rotated logs This is disturbing on staging instance where is small disk. We often have to cleanup the logs manually. --- roles/copr/frontend/files/httpd.logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/frontend/files/httpd.logrotate b/roles/copr/frontend/files/httpd.logrotate index d195a77a82..ac3056152b 100644 --- a/roles/copr/frontend/files/httpd.logrotate +++ b/roles/copr/frontend/files/httpd.logrotate @@ -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