Sha256: b4b771fe6a0c93ed8a4d4dcd333317caf48228fb1f5657436e5e20a2a04e63df
Contents?: true
Size: 417 Bytes
Versions: 5
Compression:
Stored size: 417 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!: Telling god to restart our resque workers.\n\n" run "sudo #{ruby_bin_dir}/ruby #{ruby_bin_dir}/god restart #{application}-resque; exit 0" end end end
Version data entries
5 entries across 5 versions & 1 rubygems