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