Sha256: e61952e7bbef3cde9f5e60acae4b62df8d760ebef3eab4eb5da2700c2605d0f1

Contents?: true

Size: 923 Bytes

Versions: 15

Compression:

Stored size: 923 Bytes

Contents

# Monit configuration for Puma
# <% c = Capistrano::BaseHelper::get_capistrano_instance %>
# <%= "#{c.fetch(:application)} running as #{c.fetch(:user)} in environment #{Capistrano::BaseHelper.environment}" %>
#
# Service name: <%= c.fetch(:puma_monit_service_name) %>
#
check process <%= c.fetch(:puma_monit_service_name) %>
    with pidfile <%= c.fetch(:puma_pid_file) %>
    start program = "<%= c.fetch(:puma_monit_start_command) %>"
    stop program = "<%= c.fetch(:puma_monit_stop_command) %>"
    if mem is greater than <%= c.fetch(:puma_monit_memory_alert_threshold) %> then alert
    if mem is greater than <%= c.fetch(:puma_monit_memory_restart_threshold) %> then restart
    if cpu is greater than <%= c.fetch(:puma_monit_cpu_alert_threshold) %> then alert         
    if cpu is greater than <%= c.fetch(:puma_monit_cpu_restart_threshold) %> then restart

    group <%= c.fetch(:monit_application_group_name) %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
capistrano-pumaio-0.0.18 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.17 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.16 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.15 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.14 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.11 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.10 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.9 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.8 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.7 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.6 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.5 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.4 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.3 templates/monit/puma.conf.erb
capistrano-pumaio-0.0.2 templates/monit/puma.conf.erb