| 1 | # log rotation for hcoop member vhosts |
| 2 | # (file name is less than ideal, but why bother messing with dh?) |
| 3 | /var/log/apache2/user/*/*/*/*/*/*/*/*.log { |
| 4 | weekly |
| 5 | missingok |
| 6 | rotate 52 |
| 7 | compress |
| 8 | |
| 9 | # docelic, Sun Nov 8 14:50:11 EST 2009 |
| 10 | # per https://bugzilla.hcoop.net/show_bug.cgi?id=744 |
| 11 | dateext |
| 12 | |
| 13 | delaycompress |
| 14 | notifempty |
| 15 | create 640 root adm |
| 16 | sharedscripts |
| 17 | postrotate |
| 18 | if [ -f /var/run/apache2.pid ]; then |
| 19 | /etc/init.d/apache2 reload > /dev/null 2>&1 |
| 20 | fi |
| 21 | endscript |
| 22 | } |