Skip to content

Instantly share code, notes, and snippets.

@radiosilence
Last active December 1, 2023 15:17
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save radiosilence/5714387 to your computer and use it in GitHub Desktop.
Save radiosilence/5714387 to your computer and use it in GitHub Desktop.
Example uWSGi INI file with support for celery.
[uwsgi]
disable-logging = True
socket = /srv/qrs/test/wsgi.sock
chdir = /srv/qrs/test
chmod = 660
master = true
processes = 2
module = qrs.wsgi:application
virtualenv = /env/qrs/test
enable-threads = true
threads = 4
attach-daemon = /env/qrs/test/bin/python manage.py celery worker -B --settings=qrs.settings.celery_development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment