httpd logrotálás

kami911 képe

httpd

/var/log/httpd/*.log {
   hourly
   rotate 4500
   missingok
   notifempty
   delaycompress
   dateext
   dateformat -%Y%m%d_%H
   dateyesterday
   minsize 20K
   compresscmd /usr/bin/xz
   compressoptions "-3"
   compressext .xz
   sharedscripts
   postrotate
       /usr/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
   endscript
}