]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fix gunicorn invocation
authorotbutz <tbutz@optitool.de>
Wed, 9 Oct 2024 08:07:43 +0000 (10:07 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2024 08:07:43 +0000 (10:07 +0200)
docs/admin/Deployment-Python.md

index 9275bab86d536f6fcba5e61dcc08eda84ac0e9e7..5932f4e6bb0f482b7940ee2ff411608421133d92 100644 (file)
@@ -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