/etc/logrotate.d/apache2 - Alpine Linux v3

This is the default example configuration of apache2 provided by Apache. This config file was generated by Apache running on Alpine 3.

It is located under: /etc/logrotate.d/apache2

    /var/log/apache2/*log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
        /etc/init.d/apache2 --quiet --ifstarted reload > /dev/null 2>/dev/null || true
    endscript
}


    
  

Config Details

Location
/etc/logrotate.d/apache2
Operating system
Alpine Linux v3
Length
10 lines
MD5 checksum
8519af87c57b50441866ad4216e4d663

Usage

Download the raw file with wget or curl

Wget

wget -O apache2.example http://exampleconfig.com/static/raw/apache/alpine3/etc/logrotate.d/apache2

cURL

curl http://exampleconfig.com/static/raw/apache/alpine3/etc/logrotate.d/apache2 > apache2.example