Sha256: 29b2ee28c9a799fa89b5bab16c820522c6c5bed9a7767ccd5373460afa95553a

Contents?: true

Size: 463 Bytes

Versions: 9

Compression:

Stored size: 463 Bytes

Contents

module Capistrano
  module Helpers
    module Puma
      ##
      # Module Monit provides helpers for Monit/Puma combination
      ##
      module Monit
        module_function

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capistrano-pumaio-3.1.6 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.1.4 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.1.3 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.1.2 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.1.1 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.0.3 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.0.2 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.0.1 lib/capistrano/helpers/puma/monit.rb
capistrano-pumaio-3.0.0 lib/capistrano/helpers/puma/monit.rb