その際のLogrotateメモ。
vim /etc/logrotate.d/httpd
/var/log/httpd/*log {
daily
missingok
rotate 90
notifempty
sharedscripts
prerotate
`rpm -ql awstats|grep "awstats_updateall\.pl"` now -confdir="/etc/awstats" \
-awstatsprog="`rpm -ql awstats|grep "awstats\.pl"`" >/dev/null
endscript
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}
