X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7bfe48c72692a8a218ab5c222d88830c6cd04ea0..e92ed5e09215d67f2bd7dc21a32425d7ec5aa26f:/cookbooks/overpass/templates/default/overpass-import-db.erb?ds=sidebyside diff --git a/cookbooks/overpass/templates/default/overpass-import-db.erb b/cookbooks/overpass/templates/default/overpass-import-db.erb index b32a84f48..40367de17 100644 --- a/cookbooks/overpass/templates/default/overpass-import-db.erb +++ b/cookbooks/overpass/templates/default/overpass-import-db.erb @@ -40,7 +40,7 @@ echo "Import finished. Catching up with new changes." 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 -%>