From 2fe8b98d557cf68a15763a762fb77d3a9522af98 Mon Sep 17 00:00:00 2001 From: otbutz Date: Wed, 9 Oct 2024 10:07:43 +0200 Subject: [PATCH 1/1] Fix gunicorn invocation --- docs/admin/Deployment-Python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/Deployment-Python.md b/docs/admin/Deployment-Python.md index 9275bab8..5932f4e6 100644 --- a/docs/admin/Deployment-Python.md +++ b/docs/admin/Deployment-Python.md @@ -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 -- 2.39.5