[refs #510] Rename recipe methods names to right variants

This commit is contained in:
konstantin.grabar 2012-06-04 18:16:32 +04:00
parent d29065a12a
commit 83736ac86d
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ Capistrano::Configuration.instance(:must_exist).load do
fetch(:rails_env, false) ? "RAILS_ENV=#{fetch(:rails_env)}" : ''
end
def start_workers
def stop_workers
pids = Array.new
Resque.workers.each do |worker|
@ -30,7 +30,7 @@ Capistrano::Configuration.instance(:must_exist).load do
end
end
def stop_workers
def start_workers
run "cd #{fetch :release_path} && QUEUE=* bundle exec rake resque:work"
end
end