File awstats.logrotate of Package awstats
/var/log/apache2/awstats.log {
compress
dateext
rotate 99
size=+4096k
notifempty
missingok
create 644 root root
prerotate
/usr/sbin/awstats-update
endscript
postrotate
if /etc/init.d/apache2 status &>/dev/null; then /etc/init.d/apache2 reload; fi
endscript
}