-nominatim refresh --postcodes --word-tokens --threads 4 -v
-nominatim admin --clean-deleted '1 month'
+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'