Re-set correct rails env for DJ. Refs #1

This commit is contained in:
Pavel Chipiga 2011-12-14 15:46:41 +02:00
parent ae7cc892f7
commit af2f2b4819
1 changed files with 2 additions and 2 deletions

View File

@ -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