Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.725 kb
log_file = "#{RELEASE_PATH}/shared/log/bluepill.log"
base_dir = "/tmp/bluepill"
Bluepill.application("gemcutter", :log_file => log_file, :base_dir => base_dir) do |app|
app.process("delayed_job") do |process|
process.working_dir = "#{RELEASE_PATH}/current"
process.start_grace_time = 10.seconds
process.stop_grace_time = 10.seconds
process.restart_grace_time = 10.seconds
process.environment = { 'RAILS_ENV' => RAILS_ENV }
process.start_command = "bash -l -c 'bundle exec rake jobs:work'"
process.daemonize = true
process.pid_file = "#{RELEASE_PATH}/shared/pids/delayed_job.pid"
process.uid = process.gid = "rubycentral"
process.supplementary_groups = ['rvm']
end
end
Jump to Line
Something went wrong with that request. Please try again.