META=
<% end -%>
-sudo systemctl stop overpass-area-processor.timer || true
+sudo systemctl stop overpass-area-processor || true
sudo systemctl stop overpass-update || true
sudo systemctl stop overpass-area-dispatcher || true
sudo systemctl stop overpass-dispatcher || true
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 -%>
sudo -u <%= @username %> <%= @basedir %>/bin/osm3s_query --progress --rules <<%= @srcdir %>/rules/areas.osm3s
echo "All updates done."
-
-sudo systemctl start overpass-area-processor.timer