X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f6e792f31b105447d86c78ffa10ac343a6b5e332..f76dbb0a167fa49839c30da1a4e1d15439070e2a:/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