Skip to content

Instantly share code, notes, and snippets.

@yeukhon
Last active December 12, 2015 06:28
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 yeukhon/4729762 to your computer and use it in GitHub Desktop.
Save yeukhon/4729762 to your computer and use it in GitHub Desktop.
[unix_http_server]
file=/tmp/supervisor.sock ; (the path to the socket file)
[supervisord]
logfile=/tmp/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/supervisord.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)
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[program:kalium]
command=/opt/graphyte/vens/kalium/bin/python /opt/graphyte/kalium/kalium/manage.py run_gunicorn -w 2 -b 127.0.0.1:7474 -t 3600
user=vagrant
autostart=true
autorestart=true
stopsignal=QUIT
log_stdout=true
log_stderr=true
logfile=/var/log/graphyte/kalium/supervisord.log
stdout_logfile=/var/log/graphyte/kalium/stdout.log
stderr_logfile=/var/log/graphyte/kalium/stderr.log
logfile_maxbytes=50MB
logfile_backups=20
[program:gcs]
command=/opt/graphyte/vens/gcs/bin/gunicorn_paster /opt/graphyte/gcs/development.ini
user=vagrant
autostart=true
autorestart=true
stopsignal=QUIT
log_stdout=true
log_stderr=true
logfile=/var/log/graphyte/gcs2/supervisord.log
stdout_logfile=/var/log/graphyte/gcs2/stdout.log
stderr_logfile=/var/log/graphyte/gcs2/stderr.log
logfile_maxbytes=50MB
logfile_backups=20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment