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