]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/logrotate.apache.erb
Configure phpfpm exporter for main wiki
[chef.git] / cookbooks / planet / templates / default / logrotate.apache.erb
index e7d9e3c23b650e6bd7acb8e7717500ed04c40eaf..f1c5dde56843eb164e2562d52813c3ee6eff7f47 100644 (file)
@@ -11,7 +11,7 @@
        sharedscripts
        postrotate
                /etc/init.d/apache2 reload > /dev/null
-               rsync /var/log/apache2/planet.openstreetmap.org-access.log.2.gz horntail::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 \