Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
supervisord puma config example
[program:puma-dev]
command=/usr/local/rvm/gems/ruby-2.2.0/bin/puma -b unix:///tmp/meetplay-dev.sock -e development -t 2:8
process_name=%(program_name)s
numprocs=1
directory=/home/dg/projects/meetplay
umask=022
priority=999
autostart=true
autorestart=unexpected
startsecs=10
startretries=3
exitcodes=0,2
stopsignal=TERM
stopwaitsecs=10
stopasgroup=false
killasgroup=false
user=dg
redirect_stderr=false
stdout_logfile=/home/dg/tmp/puma-dev.stdout.log
stdout_logfile_maxbytes=1MB
stdout_logfile_backups=10
stdout_capture_maxbytes=1MB
stdout_events_enabled=false
stderr_logfile=/home/dg/tmp/puma-dev.stderr.log
stderr_logfile_maxbytes=1MB
stderr_logfile_backups=10
stderr_capture_maxbytes=1MB
stderr_events_enabled=false
environment=GEM_HOME="/usr/local/rvm/gems/ruby-2.2.0",GEM_PATH="/usr/local/rvm/gems/ruby-2.2.0:/usr/local/rvm/gems/ruby-2.2.0@global",HOME="/home/dg",RAILS_ENV="development"
serverurl=AUTO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.