Sha256: ea11b5b685bd2e9be0f0940b53ed63e993dd453b925440b36bb2155704d9f4d3

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do
  after  'deploy:restart', 'resque_workers:restart'

  namespace :resque_workers do
    desc 'restart resque workers'
    task :restart, :roles=> :god do
      puts "\n\n### RESTART RESQUE WORKERS!: Killing the resque workers, God will resurrect them.\n\n"
      run "sudo #{deploy_to}/config/god/kill_resque_workers.sh"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-git-plugins-0.0.2 lib/capistrano/git/plugins/kill_resque_workers.rb
capistrano-git-plugins-0.0.1 lib/capistrano/git/plugins/kill_resque_workers.rb
capistrano-git-plugins-0.0.0 lib/capistrano/git/plugins/kill_resque_workers.rb