diff --git a/config/production.pill b/config/production.pill index fd950d2e3..43e19475e 100644 --- a/config/production.pill +++ b/config/production.pill @@ -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