aboutsummaryrefslogtreecommitdiff
path: root/templates/vserver/files/etc/logrotate.d/apache
blob: f31fbe24b5377193c48e97a648d31c1e644cc189 (plain)
1
2
3
4
5
6
7
8
9
10
11
/var/log/apache/access_log /var/log/apache/error_log {
    monthly
    nomail
    compress
    create 0664 root root
    rotate 12
    postrotate
      /etc/rc.d/rc.httpd restart > /dev/null
    endscript
}