Sha256: 704cdc239a97540f850c7d9b4a0b9c531f9e7d98e807af00e8f60f4a815e2d28
Contents?: true
Size: 417 Bytes
Versions: 15
Compression:
Stored size: 417 Bytes
Contents
Capistrano::Configuration.instance(:must_exist).load do task :worker_stop, :roles => [:app] do # stop delayed job worker run "#{in_current} rake RAILS_ENV=production worker:stop" end on_stop do worker_stop end task :worker_start, :roles => [:app] do # start delayed job worker run "#{in_current} rake RAILS_ENV=production worker:start" end on_start do worker_start end end
Version data entries
15 entries across 15 versions & 1 rubygems