aboutsummaryrefslogtreecommitdiff
path: root/templates/vserver-legacy/vserver-legacy.d/etc/logrotate.d/apache
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-09 16:44:20 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-09 16:44:20 +0000
commitbd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52 (patch)
treeec801fc9d595e3cf483c564f0d1d9a0f6858ba52 /templates/vserver-legacy/vserver-legacy.d/etc/logrotate.d/apache
parentf7595585fae0e0844877ad111388837aaf74028b (diff)
downloadsimplepkg-bd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52.tar.gz
simplepkg-bd5a14836a8967b9ff8b8ed1c14a0b1d8289ea52.tar.bz2
lots of changes:
- jail-update renamed to jail-commit - mkjail, jail-commit and templatepkg with svn support - templates now has permission tracking - etc git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@164 04377dda-e619-0410-9926-eae83683ac58
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/apache11
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
+}
+