X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/da3e292dc325b96df2c805d729427c8bf6741b81..58add207f0be3d805a2022c659954be333a1821d:/cookbooks/nominatim/templates/default/nominatim-daily-maintenance.erb?ds=sidebyside diff --git a/cookbooks/nominatim/templates/default/nominatim-daily-maintenance.erb b/cookbooks/nominatim/templates/default/nominatim-daily-maintenance.erb index 03a51318a..60fe84bec 100644 --- a/cookbooks/nominatim/templates/default/nominatim-daily-maintenance.erb +++ b/cookbooks/nominatim/templates/default/nominatim-daily-maintenance.erb @@ -9,11 +9,7 @@ psql -q -d <%= node[:nominatim][:dbname] %> -c 'VACUUM ANALYSE search_name' <% if node[:nominatim][:enable_qa_tiles] -%> pushd <%= @qabindir %> -<% if node.platform?("debian") -%> if <%= @venvprefix %>nominatim-data-analyser --execute-all --config=<%= @projectdir %>/qa-config.yaml; then -<% else -%> -if python3 cli.py --execute-all; then -<% end -%> rm -rf "<%= @qadatadir %>/old" if [ -d "<%= @qadatadir %>/current" ]; then mv "<%= @qadatadir %>/current" "<%= @qadatadir %>/old"