From 3cc2f0fe62705ccaf785ae55834d4e65ef8630f4 Mon Sep 17 00:00:00 2001 From: Pavel Chipiga Date: Wed, 20 Jun 2012 19:38:49 +0300 Subject: [PATCH] Rollback stop_wokers scenario. Refs #510 --- lib/recipes/resque.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/recipes/resque.rb b/lib/recipes/resque.rb index 7f42fd653..b17ce5da1 100644 --- a/lib/recipes/resque.rb +++ b/lib/recipes/resque.rb @@ -20,8 +20,8 @@ Capistrano::Configuration.instance(:must_exist).load do end def stop_workers - #run "kill -QUIT `ps aux | grep resque | grep -v grep | awk '{ print $2 }'`" - run "kill -QUIT `ps aux | grep resque | grep -v grep | awk '{ print $2 }'` > /dev/null 2>&1 &" + run "kill -QUIT `ps aux | grep resque | grep -v grep | awk '{ print $2 }'`" + # run "kill -QUIT `ps aux | grep resque | grep -v grep | awk '{ print $2 }'` > /dev/null 2>&1 &" end def start_workers