X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b..58add207f0be3d805a2022c659954be333a1821d:/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb diff --git a/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb b/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb index f3de24347..7156342e3 100644 --- a/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb +++ b/cookbooks/nominatim/templates/default/nominatim-update-refresh-db.erb @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # DO NOT EDIT - This file is being maintained by Chef @@ -6,5 +6,5 @@ date "+%c === Refresh database after software updates" cd <%= @projectdir %> -nominatim admin --migrate -nominatim refresh --functions --address-levels --website +<%= @venvprefix %>nominatim admin --migrate +<%= @venvprefix %>nominatim refresh --functions --address-levels