Sha256: 499dd6aa5c8286c70de89d4d8047f802c218265ea1bb9283964cd79fabf64ce3
Contents?: true
Size: 623 Bytes
Versions: 6
Compression:
Stored size: 623 Bytes
Contents
module Capistrano class Sidekiq::Monit < Capistrano::Plugin def set_defaults set_if_empty :monit_bin, '/usr/bin/monit' set_if_empty :sidekiq_monit_conf_dir, '/etc/monit/conf.d' set_if_empty :sidekiq_monit_conf_file, -> { "#{sidekiq_service_name}.conf" } set_if_empty :sidekiq_monit_use_sudo, true set_if_empty :sidekiq_monit_default_hooks, true set_if_empty :sidekiq_monit_templates_path, 'config/deploy/templates' set_if_empty :sidekiq_monit_group, nil end def define_tasks eval_rakefile File.expand_path('../../tasks/monit.rake', __FILE__) end end end
Version data entries
6 entries across 6 versions & 1 rubygems