]> git.laktatnebel.de Git - admin.git/blob
c207b2cfc19d8f908928f028ccf1b558119f1cf5
[admin.git] /
1 /var/log/apache2/lasse-gehrmann.de/mail/*.log {
2         daily
3         missingok
4         rotate 28
5         compress
6         delaycompress
7         notifempty
8         create 640 root adm
9         sharedscripts
10         postrotate
11                 if /etc/init.d/apache2 status > /dev/null ; then \
12                     /etc/init.d/apache2 reload > /dev/null; \
13                 fi;
14         endscript
15         prerotate
16                 if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
17                         run-parts /etc/logrotate.d/httpd-prerotate; \
18                 fi; \
19         endscript
20 }