Sha256: 9d961f29371d4662166695b3533ab0ce0ad5f38a2410cbbd34f11af2054babc2

Contents?: true

Size: 526 Bytes

Versions: 3

Compression:

Stored size: 526 Bytes

Contents

# Monit configuration for Puma
# Service name: <%= puma_monit_service_name %>
#
check process <%= puma_monit_service_name %>
  with pidfile "<%= fetch(:puma_pid) %>"
  start program = "/usr/bin/sudo -u <%= @role.user %> /bin/bash -c 'cd <%= current_path %> && <%= SSHKit.config.command_map[:bundle] %> exec puma -C <%= fetch(:puma_conf) %>'"
  stop program = "/usr/bin/sudo -u <%= @role.user %> /bin/bash -c 'cd <%= current_path %> && <%= SSHKit.config.command_map[:bundle] %> exec pumactl -S <%= fetch(:puma_state) %> stop'"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano3-puma-0.5.1 lib/capistrano/templates/puma_monit.conf.erb
capistrano3-puma-0.5.0 lib/capistrano/templates/puma_monit.conf.erb
capistrano3-puma-0.4.2 lib/capistrano/templates/puma_monit.conf.erb