Sha256: 6422f3e5e68f3ea89f98a2ea91478f4bb139e10050a8742988b7b72cb8b998cb
Contents?: true
Size: 462 Bytes
Versions: 14
Compression:
Stored size: 462 Bytes
Contents
require 'thinking_sphinx/deploy/capistrano' 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
14 entries across 14 versions & 1 rubygems