]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/logrotate.apache.erb
Update bundle
[chef.git] / cookbooks / planet / templates / default / logrotate.apache.erb
index c25e4853fd7f43f8f6cef5891c5adc79ba415784..f1c5dde56843eb164e2562d52813c3ee6eff7f47 100644 (file)
@@ -11,7 +11,7 @@
        sharedscripts
        postrotate
                /etc/init.d/apache2 reload > /dev/null
        sharedscripts
        postrotate
                /etc/init.d/apache2 reload > /dev/null
-               rsync /var/log/apache2/planet.openstreetmap.org-access.log.2.gz ironbelly::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.gz
+               rsync --preallocate /var/log/apache2/planet.openstreetmap.org-access.log.2.gz ironbelly::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.gz
        endscript
        prerotate
                if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
        endscript
        prerotate
                if [ -d /etc/logrotate.d/httpd-prerotate ]; then \