]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: switch server to new location of nominatim
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 20 Sep 2024 07:04:03 +0000 (09:04 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 20 Sep 2024 07:04:03 +0000 (09:04 +0200)
cookbooks/nominatim/recipes/default.rb

index 1d0ffe44ab23073cd3ee9968626335e7fe1f44a6..d8440761a08a5513ced2497b04ab41597a755046 100644 (file)
@@ -392,7 +392,7 @@ elsif node[:nominatim][:api_flavour] == "python"
     working_directory project_directory
     standard_output "append:#{node[:nominatim][:logdir]}/gunicorn.log"
     standard_error "inherit"
     working_directory project_directory
     standard_output "append:#{node[:nominatim][:logdir]}/gunicorn.log"
     standard_error "inherit"
-    exec_start "#{python_directory}/bin/gunicorn --max-requests 200000 -b unix:/run/gunicorn-nominatim.openstreetmap.org.sock -w #{node[:nominatim][:api_workers]} -k uvicorn.workers.UvicornWorker nominatim.server.falcon.server:run_wsgi"
+    exec_start "#{python_directory}/bin/gunicorn --max-requests 200000 -b unix:/run/gunicorn-nominatim.openstreetmap.org.sock -w #{node[:nominatim][:api_workers]} -k uvicorn.workers.UvicornWorker nominatim_api.server.falcon.server:run_wsgi"
     exec_reload "/bin/kill -s HUP $MAINPID"
     environment :PYTHONPATH => "/usr/local/lib/nominatim/lib-python/"
     kill_mode "mixed"
     exec_reload "/bin/kill -s HUP $MAINPID"
     environment :PYTHONPATH => "/usr/local/lib/nominatim/lib-python/"
     kill_mode "mixed"