]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/logrotate.squid.erb
tilecache: temporarily increase default rate
[chef.git] / cookbooks / tilecache / templates / default / logrotate.squid.erb
index fdc426cfe6f7d0fc30fd037487482a996bbc0e4d..2112b85cde2f631e38679ad42cd1eba2c7852b53 100644 (file)
@@ -14,6 +14,6 @@
     test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
   endscript
   lastaction
-    /usr/bin/rsync /var/log/squid/zere.log.1.xz ironbelly::logs/tile.openstreetmap.org/<%= node[:hostname] %>-`date -d "-1 days" +%Y-%m-%d`.xz || true
+    /usr/bin/rsync --preallocate /var/log/squid/zere.log.1.xz ironbelly::logs/tile.openstreetmap.org/<%= node[:hostname] %>-`date -d "-1 days" +%Y-%m-%d`.xz || true
   endscript
 }