From 97d2ec6762bb29d8289881503913f2bd54df3199 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 11 Sep 2011 17:45:24 +0200 Subject: [PATCH] Set apache logrotate to 15 days for all hosts/services --- .../files/common/etc/logrotate.d/apache2 | 2 +- .../wieck.debian.org/etc/logrotate.d/apache2 | 21 ------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 modules/apache2/files/per-host/wieck.debian.org/etc/logrotate.d/apache2 diff --git a/modules/apache2/files/common/etc/logrotate.d/apache2 b/modules/apache2/files/common/etc/logrotate.d/apache2 index 083816fb..9dd2f057 100644 --- a/modules/apache2/files/common/etc/logrotate.d/apache2 +++ b/modules/apache2/files/common/etc/logrotate.d/apache2 @@ -7,7 +7,7 @@ daily dateext missingok - rotate 360 + rotate 15 compress delaycompress notifempty diff --git a/modules/apache2/files/per-host/wieck.debian.org/etc/logrotate.d/apache2 b/modules/apache2/files/per-host/wieck.debian.org/etc/logrotate.d/apache2 deleted file mode 100644 index 9dd2f057..00000000 --- a/modules/apache2/files/per-host/wieck.debian.org/etc/logrotate.d/apache2 +++ /dev/null @@ -1,21 +0,0 @@ -## -## 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 15 - 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.39.2