Created
July 4, 2014 09:36
-
-
Save jqlblue/d8d2cdf83aaf2f85cd37 to your computer and use it in GitHub Desktop.
sentry-supersior.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[unix_http_server] | |
file=/tmp/sentry/supervisor.sock ; (the path to the socket file) | |
;chmod=0700 ; socket file mode (default 0700) | |
;chown=nobody:nogroup ; socket file uid:gid owner | |
;username=user ; (default is no username (open server)) | |
;password=123 ; (default is no password (open server)) | |
[supervisord] | |
logfile=/tmp/sentry/supervisord.log ; (main log file;default $CWD/supervisord.log) | |
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB) | |
logfile_backups=10 ; (num of main logfile rotation backups;default 10) | |
loglevel=info ; (log level;default info; others: debug,warn,trace) | |
pidfile=/tmp/sentry/upervisord.pid ; (supervisord pidfile;default supervisord.pid) | |
nodaemon=false ; (start in foreground if true;default false) | |
minfds=1024 ; (min. avail startup file descriptors;default 1024) | |
minprocs=200 ; (min. avail process descriptors;default 200) | |
;umask=022 ; (process file creation umask;default 022) | |
;user=chrism ; (default is current user, required if root) | |
;identifier=supervisor ; (supervisord identifier, default is 'supervisor') | |
;directory=/tmp ; (default is not to cd during start) | |
;nocleanup=true ; (don't clean up tempfiles at start;default false) | |
;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP) | |
childlogdir=/tmp/sentry | |
;environment=KEY="value" ; (key value pairs to add to environment) | |
;strip_ansi=false ; (strip ansi escape codes in logs; def. false) | |
[supervisorctl] | |
serverurl=unix:///tmp/sentry/supervisor.sock ; use a unix:// URL for a unix socket | |
;serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket | |
;username=chris ; should be same as http_username if set | |
;password=123 ; should be same as http_password if set | |
;prompt=mysupervisor ; cmd line prompt (default "supervisor") | |
;history_file=~/.sc_history ; use readline history if available | |
[program:web] | |
command=/data/server/python-envs/sentry/bin/sentry --config=/data/server/sentry/etc/sentry.conf.py start --noupgrade | |
process_name=%(program_name)s_%(process_num)02d | |
numprocs=1 | |
numprocs_start=0 | |
startsecs=5 | |
startretries=3 | |
stopsignal=QUIT | |
stopwaitsecs=10 | |
stopasgroup=true | |
killasgroup=true | |
environment=SENTRY_CONF="/data/server/sentry/etc/sentry.conf.py" | |
directory=/data/server/python-envs/sentry/ | |
[program:sentry_udp] | |
command=/data/server/python-envs/sentry/bin/sentry --config=/data/server/sentry/etc/sentry.conf.py start udp --noupgrade | |
process_name=sentry_udp_server | |
numprocs=1 | |
numprocs_start=0 | |
startsecs=5 | |
startretries=3 | |
stopsignal=QUIT | |
stopwaitsecs=10 | |
stopasgroup=true | |
killasgroup=true | |
environment=SENTRY_CONF="/data/server/sentry/etc/sentry.conf.py" | |
directory=/data/server/python-envs/sentry/ | |
[program:celeryd] | |
command=/data/server/python-envs/sentry/bin/sentry celery worker -c 6 -P processes -l WARNING -n worker-%(process_num)02d.worker | |
process_name=%(program_name)s_%(process_num)02d | |
numprocs=1 | |
numprocs_start=0 | |
startsecs=1 | |
startretries=3 | |
stopsignal=TERM | |
stopwaitsecs=10 | |
stopasgroup=false | |
killasgroup=true | |
environment=SENTRY_CONF="/data/server/sentry/etc/sentry.conf.py" | |
directory=/data/server/python-envs/sentry/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment