From af2f2b4819de2ea075d60a3b500a9aa745f1c5b1 Mon Sep 17 00:00:00 2001 From: Pavel Chipiga Date: Wed, 14 Dec 2011 15:46:41 +0200 Subject: [PATCH] Re-set correct rails env for DJ. Refs #1 --- config/production.pill | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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