Rollback stop_wokers scenario. Refs #510
This commit is contained in:
parent
ad7d3795e6
commit
3cc2f0fe62
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue