From fd29ff30f826167f411413b4cf150e113e012f58 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sat, 11 Jul 2009 20:55:50 +0200 Subject: [PATCH] saens only 30d --- .../saens.debian.org/etc/logrotate.d/apache2 | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/apache2/files/per-host/saens.debian.org/etc/logrotate.d/apache2 diff --git a/modules/apache2/files/per-host/saens.debian.org/etc/logrotate.d/apache2 b/modules/apache2/files/per-host/saens.debian.org/etc/logrotate.d/apache2 new file mode 100644 index 000000000..7c29923d7 --- /dev/null +++ b/modules/apache2/files/per-host/saens.debian.org/etc/logrotate.d/apache2 @@ -0,0 +1,21 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + +/var/log/apache2/*.log { + daily + dateext + missingok + rotate 30 + compress + delaycompress + notifempty + create 644 root adm + sharedscripts + postrotate + if [ -f "`. /etc/apache2/envvars ; echo ${APACHE_PID_FILE:-/var/run/apache2.pid}`" ]; then + /etc/init.d/apache2 reload > /dev/null + fi + endscript +} -- 2.20.1