X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/139cea5720e3b1030ec9a10c678d723752d707f4..734dff037405469ada9a226be9c98be583823226:/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