From f9a8dfcd51e481a49355d94a3e74f2762519378f Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 11 Feb 2007 14:29:54 +0000 Subject: changed repository layout to trunk/, tags/ and branches/ scheme git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@181 04377dda-e619-0410-9926-eae83683ac58 --- trunk/templates/vserver/vserver.d/etc/logrotate.d/apache | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 trunk/templates/vserver/vserver.d/etc/logrotate.d/apache (limited to 'trunk/templates/vserver/vserver.d/etc/logrotate.d') diff --git a/trunk/templates/vserver/vserver.d/etc/logrotate.d/apache b/trunk/templates/vserver/vserver.d/etc/logrotate.d/apache new file mode 100644 index 0000000..f31fbe2 --- /dev/null +++ b/trunk/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 +} + -- cgit v1.2.3