]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/apache2/files/common/etc/logrotate.d/apache2
Obligatory puppet disclaimer
[dsa-puppet.git] / modules / apache2 / files / common / etc / logrotate.d / apache2
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 /var/log/apache2/*.log {
7         daily
8         datext
9         missingok
10         rotate 360
11         compress
12         delaycompress
13         notifempty
14         create 644 root adm
15         sharedscripts
16         postrotate
17                 if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then
18                         /etc/init.d/apache2 reload > /dev/null
19                 fi
20         endscript
21 }