]> git.openstreetmap.org Git - nominatim.git/blobdiff - docs/admin/Deployment-Python.md
Fix gunicorn invocation
[nominatim.git] / 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