X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fapache2%2Ffiles%2Fper-host%2Fwieck.debian.org%2Fetc%2Flogrotate.d%2Fapache2;fp=modules%2Fapache2%2Ffiles%2Fper-host%2Fwieck.debian.org%2Fetc%2Flogrotate.d%2Fapache2;h=9dd2f057ac07ed6cd884c36f05facf759addc7e6;hb=0634d4169fe8fc595036d8af5762ffe7e888b1ab;hp=0000000000000000000000000000000000000000;hpb=29e6f694d70001f376d4b849b1a12c5705c7e962;p=mirror%2Fdsa-puppet.git 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 new file mode 100644 index 000000000..9dd2f057a --- /dev/null +++ b/modules/apache2/files/per-host/wieck.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 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 +}