Skip to content

Commit

Permalink
Run gunicorn under correct user
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Nov 11, 2024
1 parent c805c1c commit 582ea9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 4.5/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,5 @@ echo "Warming finished"

echo "--> Nominatim is ready to accept requests"

gunicorn --bind :8080 -b unix:/run/nominatim.sock -w 4 -k uvicorn.workers.UvicornWorker nominatim_api.server.falcon.server:run_wsgi
cd "$PROJECT_DIR"
sudo -u nominatim gunicorn --bind :8080 -w 4 -k uvicorn.workers.UvicornWorker nominatim_api.server.falcon.server:run_wsgi

0 comments on commit 582ea9e

Please sign in to comment.