Use temporary redirects for ports redirects to the wiki
[mirror/dsa-puppet.git] / modules / apache2 / files / apache2.logrotate
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         dateext
9         missingok
10         rotate 15
11         compress
12         delaycompress
13         notifempty
14         create 644 root adm
15         sharedscripts
16         postrotate
17                 if /etc/init.d/apache2 status > /dev/null ; then \
18                     /etc/init.d/apache2 reload > /dev/null; \
19                 fi;
20         endscript
21         prerotate
22                 if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
23                         run-parts /etc/logrotate.d/httpd-prerotate; \
24                 fi; \
25         endscript
26 }