Sha256: bfcc0834cc1376607f3ea46d84e29b44a9cc056bb71a70d6d51a6cc532eb95ac

Contents?: true

Size: 807 Bytes

Versions: 9

Compression:

Stored size: 807 Bytes

Contents

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

    group <%= fetch(:monit_application_group_name) %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capistrano-pumaio-3.1.6 templates/monit/puma.conf.erb
capistrano-pumaio-3.1.4 templates/monit/puma.conf.erb
capistrano-pumaio-3.1.3 templates/monit/puma.conf.erb
capistrano-pumaio-3.1.2 templates/monit/puma.conf.erb
capistrano-pumaio-3.1.1 templates/monit/puma.conf.erb
capistrano-pumaio-3.0.3 templates/monit/puma.conf.erb
capistrano-pumaio-3.0.2 templates/monit/puma.conf.erb
capistrano-pumaio-3.0.1 templates/monit/puma.conf.erb
capistrano-pumaio-3.0.0 templates/monit/puma.conf.erb