From fcfc2248b2cf6a611836d0635a875fb10f93d74a Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 4 Dec 2008 00:50:47 +0000 Subject: new 'compact' template format git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@634 04377dda-e619-0410-9926-eae83683ac58 --- trunk/templates/vserver/files/etc/logrotate.d/apache | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 trunk/templates/vserver/files/etc/logrotate.d/apache (limited to 'trunk/templates/vserver/files/etc/logrotate.d/apache') diff --git a/trunk/templates/vserver/files/etc/logrotate.d/apache b/trunk/templates/vserver/files/etc/logrotate.d/apache new file mode 100644 index 0000000..f31fbe2 --- /dev/null +++ b/trunk/templates/vserver/files/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 +} + -- cgit v1.2.3