]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/files/common/etc/logrotate.d/apache2
096c31390bb0c785b1fffbb103027dc0aa3bca7b
[dsa-puppet.git] / modules / apache2 / files / common / etc / logrotate.d / apache2
1 /var/log/apache2/*.log {
2         daily
3         datext
4         missingok
5         rotate 360
6         compress
7         delaycompress
8         notifempty
9         create 644 root adm
10         sharedscripts
11         postrotate
12                 if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then
13                         /etc/init.d/apache2 reload > /dev/null
14                 fi
15         endscript
16 }