Sha256: 79265c389046cd0a5d6bb1d81c4e05e37b99a3423bd60d183e15940751a4fcb1

Contents?: true

Size: 1.1 KB

Versions: 8

Compression:

Stored size: 1.1 KB

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) %>

# In some cases preloading the app is best to avoid some infinite restart loops, however, it cannot be used in
# combination with phased restart.
<%= "preload_app!" if c.fetch(:puma_use_preload_app) %>

directory '<%= File.join(c.fetch(:deploy_to), "current") %>'

# 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

8 entries across 8 versions & 1 rubygems

Version Path
capistrano-pumaio-0.0.18 templates/runit/config.rb.erb
capistrano-pumaio-0.0.17 templates/runit/config.rb.erb
capistrano-pumaio-0.0.16 templates/runit/config.rb.erb
capistrano-pumaio-0.0.15 templates/runit/config.rb.erb
capistrano-pumaio-0.0.14 templates/runit/config.rb.erb
capistrano-pumaio-0.0.11 templates/runit/config.rb.erb
capistrano-pumaio-0.0.10 templates/runit/config.rb.erb
capistrano-pumaio-0.0.9 templates/runit/config.rb.erb