diff options
Diffstat (limited to 'branches/0.6/templates/vserver/vserver.d/etc/logrotate.d/apache')
-rw-r--r-- | branches/0.6/templates/vserver/vserver.d/etc/logrotate.d/apache | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/branches/0.6/templates/vserver/vserver.d/etc/logrotate.d/apache b/branches/0.6/templates/vserver/vserver.d/etc/logrotate.d/apache new file mode 100644 index 0000000..f31fbe2 --- /dev/null +++ b/branches/0.6/templates/vserver/vserver.d/etc/logrotate.d/apache @@ -0,0 +1,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 +} + |