Re-set correct rails env for DJ. Refs #1
This commit is contained in:
parent
ae7cc892f7
commit
af2f2b4819
|
@ -9,8 +9,8 @@ Bluepill.application(app_name) do |app|
|
|||
process.stop_grace_time = 10.seconds
|
||||
process.restart_grace_time = 10.seconds
|
||||
|
||||
process.start_command = "RAILS_ENV=production bundle exec script/delayed_job start"
|
||||
process.stop_command = "RAILS_ENV=production bundle exec script/delayed_job stop"
|
||||
process.start_command = "bundle exec script/delayed_job start RAILS_ENV=production"
|
||||
process.stop_command = "bundle exec script/delayed_job stop RAILS_ENV=production"
|
||||
process.pid_file = File.join(app.working_dir, 'tmp', 'pids', 'delayed_job.pid')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue