roles/apache: logrotate: Compress logs immediately
To conserve space on the log volume of web servers, "old" log files are now compressed immediately, as opposed to waiting until the next rotation.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
compress
|
||||
compresscmd /usr/bin/xz
|
||||
compressext .xz
|
||||
delaycompress
|
||||
postrotate
|
||||
{% if ansible_distribution_major_version|int < 7 %}
|
||||
/sbin/service httpd reload > /dev/null 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user