Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kxxoling
Created January 16, 2016 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kxxoling/e26827955a191cb6ab8f to your computer and use it in GitHub Desktop.
Save kxxoling/e26827955a191cb6ab8f to your computer and use it in GitHub Desktop.
简单的 Supervisor + Sentry 配置文件
[program:sentry]
directory=/path/to/sentry/conf/
command=/path/to/sentry/bin/sentry start
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=sentry.log
stderr_logfile=sentry.err.log
[program:sentry-worker]
directory=/path/to/sentry/conf/
command=/path/to/sentry/bin/sentry celery worker -B
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=sentry.log
stderr_logfile=sentry.err.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment