by stoplight · 13y ago · 0 comments
uwsgi --socket /tmp/uwsgi-zmusic.sock --file /home/user/zmusic-ng/backend/zmusic -H /home/user/zmusic-ng/venv --callable app --processes 4
-w zmusic:app --socket /tmp/uwsgi-zmusic.sock --chmod-socket=660
Using --chdir to change to the backend/ directory may be useful as well.I've just updated the README with these instructions.
I've also added a section on using uwsgi in standalone mode, as the built-in debugging server can't handle concurrent requests.