/var/log/httpd/*access_log
/var/log/httpd/*combined_log
/var/log/httpd/*agent_log
/var/log/httpd/*error_log
/var/log/httpd/*referer_log
/var/log/httpd/*request_log
/var/log/httpd/*rewrite_log
{
    olddir /var/log/archive/httpd
    sharedscripts
    postrotate
	if /bin/systemd_booted; then
		/bin/systemctl reload httpd.service
	else
		/sbin/service httpd flush-logs > /dev/null
	fi
    endscript
}
