Sha256: 0119406f00ea566d3a12e24e27725c9b1c520fa0330105740b3fb3e6a1c95aba

Contents?: true

Size: 857 Bytes

Versions: 3

Compression:

Stored size: 857 Bytes

Contents

# Puma configuration for: <% c = Capistrano::BaseHelper::get_capistrano_instance %>
# <%= "#{c.fetch(:application)} running as #{c.fetch(:user)} in environment #{Capistrano::BaseHelper.environment}" %>
workers <%= c.fetch(:puma_workers) %>
threads <%= c.fetch(:puma_min_threads) %>, <%= c.fetch(:puma_max_threads) %>
bind '<%= c.fetch(:puma_socket_url) %>'
pidfile '<%= c.fetch(:puma_pid_file) %>'
state_path '<%= c.fetch(:puma_state_file) %>'
environment '<%= "#{Capistrano::BaseHelper.environment}" %>'
<%= "activate_control_app '#{c.fetch(:puma_control_url)}'" if c.fetch(:puma_activate_control_app) %>

# TODO - fix restart block!
# <%= "on_restart do"              if c.fetch(:puma_on_restart_active) %>
# <%= "  puts \"Restarting puma\"" if c.fetch(:puma_on_restart_active) %>
# <%= "end"                        if c.fetch(:puma_on_restart_active) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-pumaio-0.0.4 templates/runit/config.rb.erb
capistrano-pumaio-0.0.3 templates/runit/config.rb.erb
capistrano-pumaio-0.0.2 templates/runit/config.rb.erb