Sha256: 4dbc34b15e2b21a6346540a0f3133c17e01a2bc471b41b2690cd661a6f9759a3
Contents?: true
Size: 751 Bytes
Versions: 18
Compression:
Stored size: 751 Bytes
Contents
namespace :deploy do namespace :sidekiq do desc "Starts sidekiq" task :start do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq start" end end desc "Stops sidekiq" task :stop do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq stop" end end desc "Restarts sidekiq" task :restart do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq restart" end end desc "Rejects new sidekiq jobs" task :reject_new_jobs do on roles :app do execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq reject_new_jobs" end end end end
Version data entries
18 entries across 18 versions & 1 rubygems