Sha256: 9bf221912fa457f2695c50d74f211165124c37851792184450ca8952f30b9642
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 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; exit 0" end end end
Version data entries
5 entries across 5 versions & 1 rubygems