Module: Capistrano::Helpers::Puma::Monit

Defined in:
lib/capistrano/helpers/puma/monit.rb

Overview

Module Monit provides helpers for Monit/Puma combination

Class Method Summary collapse

Class Method Details

.available_configuration_fileObject



14
15
16
# File 'lib/capistrano/helpers/puma/monit.rb', line 14

def available_configuration_file
  "#{fetch(:puma_runit_service_name)}.conf"
end

.available_configuration_with_pathObject



10
11
12
# File 'lib/capistrano/helpers/puma/monit.rb', line 10

def available_configuration_with_path
  File.join(fetch(:monit_available_path), "#{fetch(:puma_runit_service_name)}.conf")
end