]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/git-post-merge-hook.erb
nominatim: complete rework of the setup
[chef.git] / cookbooks / nominatim / templates / default / git-post-merge-hook.erb
index dbd3ddbdd09cc8aa3579cb567a8fe635dd8bc493..df72efefbd404b6df5040735afa10d0e4bcaa059 100644 (file)
@@ -13,5 +13,6 @@ make
 
 psql -d <%= @dbname %> -c "SELECT version();" >/dev/null 2>&1
 if [[ "$?" == "0" ]]; then
-  ./utils/setup.php --create-functions --create-partition-functions --enable-diff-updates
+  nominatim admin --migrate
+  nominatim refresh --functions --address-levels --website
 fi