how to use logrotate to rotate all log files in /var/log/http
how to use logrotate to rotate all log files in /var/log/http ?Thx !
my /etc/logrotate.d/apache is
/var/log/httpd/access_log /var/log/httpd/agent_log /var/log/httpd/error_log /var/log/httpd/referer_log {
missingok
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}