Skip to content

Instantly share code, notes, and snippets.

@davewongillies
Last active December 18, 2015 05:29
Show Gist options
  • Save davewongillies/5733425 to your computer and use it in GitHub Desktop.
Save davewongillies/5733425 to your computer and use it in GitHub Desktop.
Running sentry under chaussette
  • In the home directory of the user that the sentry chausette process will run under: mkdir ~/.sentry
  • copy sentry.conf.py into ~/.sentry
  • running chaussette sentry.wsgi.application should be enough to get it started. Add options as required, eg:
chaussette sentry.wsgi.application --backend meinheld --port 8091
[watcher:celeryworker]
cmd = bin/sentry --config=/etc/sentry.conf.py celery worker -B
numprocesses = 8
copy_env = True
virtualenv = /opt/sentry
working_dir = /opt/sentry
[watcher:celerybeat]
cmd = bin/sentry --config=/etc/sentry.conf.py celerybeat
numprocesses = 1
copy_env = True
virtualenv = /opt/sentry
working_dir = /opt/sentry
[watcher:sentry]
cmd = bin/chaussette --backend meinheld --fd $(circus.sockets.sentry) sentry.wsgi.application
copy_env = True
virtualenv = /opt/sentry
working_dir = /opt/sentry
singleton = False
numprocesses = 8
use_sockets = True
[socket:sentry]
host = 127.0.0.1
port = 9000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment