]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/templates/default/logrotate.apache.erb
nominatim: switch server to new location of nominatim
[chef.git] / cookbooks / planet / templates / default / logrotate.apache.erb
index e7d9e3c23b650e6bd7acb8e7717500ed04c40eaf..69ca79ca1949e527c54153806a18cdff2cdb73c8 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 backup.openstreetmap.org::logs/planet.openstreetmap.org/`date -d "-7 days" +%Y-%m-%d`.gz
        endscript
        prerotate
                if [ -d /etc/logrotate.d/httpd-prerotate ]; then \