X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/882f1823741f5c4bc6cceb4ad2d1f35eadc4f1ac..5d237a06ea2ac70ae84670048ab3b713af3d43ae:/docs/admin/Deployment-Python.md diff --git a/docs/admin/Deployment-Python.md b/docs/admin/Deployment-Python.md index 9275bab8..463e15c0 100644 --- a/docs/admin/Deployment-Python.md +++ b/docs/admin/Deployment-Python.md @@ -37,7 +37,7 @@ cd Nominatim ``` The recommended way to deploy a Python ASGI application is to run -the ASGI runner [uvicorn](https://uvicorn.org/) +the ASGI runner [uvicorn](https://www.uvicorn.org/) together with [gunicorn](https://gunicorn.org/) HTTP server. We use Falcon here as the web framework. @@ -81,7 +81,7 @@ Type=simple User=www-data Group=www-data WorkingDirectory=/srv/nominatim-project -ExecStart=/srv/nominatim-venv/bin/gunicorn -b unix:/run/nominatim.sock -w 4 -k uvicorn.workers.UvicornWorker nominatim_api.server.falcon.server:run_wsgi +ExecStart=/srv/nominatim-venv/bin/gunicorn -b unix:/run/nominatim.sock -w 4 -k uvicorn.workers.UvicornWorker "nominatim_api.server.falcon.server:run_wsgi()" ExecReload=/bin/kill -s HUP $MAINPID StandardOutput=append:/var/log/gunicorn-nominatim.log StandardError=inherit