]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb
nominatim: install secondary importance file
[chef.git] / cookbooks / nominatim / templates / default / nominatim-update-refresh-db.erb
1 #!/bin/bash -e
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 date "+%c === Refresh database after software updates"
6
7 cd <%= @projectdir %>
8
9 # Run the migrations from the nominatim version in the build directory,
10 # so they can execute while the frontend doesn't have the new code yet.
11 <%= @builddir %>/nominatim admin --migrate
12 <%= @builddir %>/nominatim refresh --functions --address-levels --website