/etc/logrotate.d/httpd24-httpd - Red Hat Enterprise Linux Server 7 (Maipo)

This is the default example configuration of httpd24-httpd provided by Apache. This config file was generated by Apache running on RHEL 7.

It is located under: /etc/logrotate.d/httpd24-httpd

    /var/log/httpd24/*log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
        /sbin/service httpd24-httpd reload > /dev/null 2>/dev/null || true
    endscript
}

    
  

Config Details

Location
/etc/logrotate.d/httpd24-httpd
Operating system
Red Hat Enterprise Linux Server 7 (Maipo)
Length
9 lines
MD5 checksum
c55074b4eed9d8dffcd3882ef09cb714

Usage

Download the raw file with wget or curl

Wget

wget -O httpd24-httpd.example http://exampleconfig.com/static/raw/apache/rhel7/etc/logrotate.d/httpd24-httpd

cURL

curl http://exampleconfig.com/static/raw/apache/rhel7/etc/logrotate.d/httpd24-httpd > httpd24-httpd.example