バーチャルホストが「/var/vhosts/」以下にあり、domain/logs/error_log・access_logみたいになってたとする。
/var/vhosts/*/logs/*log {
missingok
notifempty
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}
こんなかんじに。/etc/logrotate.d/httpd-vhostsなどで保存。
とりあえず動くか監視。