Sha256: 8ecc737353c16c864d1f250cb1cbd0b32eeb0b80a2a35cab375cb7a71e3ca823

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

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

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

<% if fetch(:pruma_prune_bundler) %>
# TODO: prune_bundler
<% end %>

directory '<%= current_path %>'

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
capistrano-pumaio-3.1.3 templates/puma-config.rb.erb
capistrano-pumaio-3.1.2 templates/puma-config.rb.erb
capistrano-pumaio-3.1.1 templates/puma-config.rb.erb
capistrano-pumaio-3.0.3 templates/puma-config.rb.erb
capistrano-pumaio-3.0.2 templates/puma-config.rb.erb
capistrano-pumaio-3.0.1 templates/puma-config.rb.erb
capistrano-pumaio-3.0.0 templates/puma-config.rb.erb