Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MrJohnsson77/780aa68fb353b190990fbdd5e71ed000 to your computer and use it in GitHub Desktop.
Save MrJohnsson77/780aa68fb353b190990fbdd5e71ed000 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