#!/usr/bin/env puma
directory '/var/www/sdassi_oa/current'
rackup "/var/www/sdassi_oa/current/config.ru"
environment 'production'
tag ''
pidfile "/var/www/sdassi_oa/shared/tmp/pids/puma.pid"
state_path "/var/www/sdassi_oa/shared/tmp/pids/puma.state"
stdout_redirect '/var/www/sdassi_oa/shared/log/puma_access.log', '/var/www/sdassi_oa/shared/log/puma_error.log', true
threads 0,16
bind 'unix:///var/www/sdassi_oa/shared/tmp/sockets/puma.sock'
workers 0
restart_command 'bundle exec puma'
prune_bundler
on_restart do
puts 'Refreshing Gemfile'
ENV["BUNDLE_GEMFILE"] = ""
end
|