]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/overpass/templates/default/overpass-import-db.erb
overpass: workaround blank pyosmium-get-changes diff-type default
[chef.git] / cookbooks / overpass / templates / default / overpass-import-db.erb
index b32a84f48818b8d4542a12374a308d0537056956..40367de170a00b564fda86b910bb824a23324f11 100644 (file)
@@ -40,7 +40,7 @@ echo "Import finished. Catching up with new changes."
 sudo systemctl start overpass-dispatcher
 sudo systemctl start overpass-area-dispatcher
 
 sudo systemctl start overpass-dispatcher
 sudo systemctl start overpass-area-dispatcher
 
-PYOSMIUM="sudo -u <%= @username %> pyosmium-get-changes --server <%= node[:overpass][:replication_url] %> -f <%= @basedir %>/db/replicate-id"
+PYOSMIUM="sudo -u <%= @username %> pyosmium-get-changes --server <%= node[:overpass][:replication_url] %> --diff-type osc.gz -f <%= @basedir %>/db/replicate-id"
 <% if node[:overpass][:meta_mode] == "attic" -%>
 PYOSMIUM="$PYOSMIUM --no-deduplicate"
 <% end -%>
 <% if node[:overpass][:meta_mode] == "attic" -%>
 PYOSMIUM="$PYOSMIUM --no-deduplicate"
 <% end -%>