Rollback stop_wokers scenario. Refs #510

This commit is contained in:
Pavel Chipiga 2012-06-20 19:38:49 +03:00
parent ad7d3795e6
commit 3cc2f0fe62
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@ Capistrano::Configuration.instance(:must_exist).load do
end end
def stop_workers 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 }'`"
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 }'` > /dev/null 2>&1 &"
end end
def start_workers def start_workers