# DO NOT EDIT - This file is being maintained by Chef cd <%= @projectdir %> <%= @venvprefix %>nominatim refresh --postcodes --word-tokens --threads 4 -v <%= @venvprefix %>nominatim admin --clean-deleted '1 month' psql -q -d <%= node[:nominatim][:dbname] %> -c 'VACUUM ANALYSE search_name' <% if node[:nominatim][:enable_qa_tiles] -%> pushd <%= @qabindir %> if <%= @venvprefix %>nominatim-data-analyser --execute-all --config=<%= @projectdir %>/qa-config.yaml; then rm -rf "<%= @qadatadir %>/old" if [ -d "<%= @qadatadir %>/current" ]; then mv "<%= @qadatadir %>/current" "<%= @qadatadir %>/old" fi mv "<%= @qadatadir %>/new" "<%= @qadatadir %>/current" fi popd <% end -%>