/usr/local/apache2/logs/access_log /usr/local/apache2/logs/error_log {
weekly
rotate 4
missingok
sharedscripts
postrotate
/bin/killall -HUP `cat /usr/local/apache2/logs/httpd.pid 2>/dev/null` 2> /dev/null
endscript
}
# logrotate -dv /etc/logrotate.d/apache