Changes of Revision 13
[-] [+] | Added | awstats.logrotate |
@@ -0,0 +1,17 @@ +/var/log/httpd/awstats.log /var/log/apache2/awstats.log { + compress + dateext + rotate 99 + size=+4096k + notifempty + missingok + create 644 root root + prerotate + /usr/sbin/awstats-update + endscript + postrotate + if /etc/init.d/apache status &>/dev/null; then /etc/init.d/apache reload; fi + if /etc/init.d/apache2 status &>/dev/null; then /etc/init.d/apache2 reload; fi + endscript +} + |