X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..5ec07321d4b6c8aa28751b95668e4b9cd1c9bb9c:/docs/admin/Deployment-Python.md diff --git a/docs/admin/Deployment-Python.md b/docs/admin/Deployment-Python.md index 821a2c06..5932f4e6 100644 --- a/docs/admin/Deployment-Python.md +++ b/docs/admin/Deployment-Python.md @@ -19,8 +19,8 @@ to configure it. ### Installing the required packages The Nominatim frontend is best run from its own virtual environment. If -you have already created one for the database backend during -[installation](Installation.md#Building-Nominatim), you can use that. Otherwise +you have already created one for the database backend during the +[installation](Installation.md#building-nominatim), you can use that. Otherwise create one now with: ```sh @@ -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