Sha256: a0bbacf681ac800e3a1b951976f0e5388cf961b3e7d154a6b0d00101d91a4811

Contents?: true

Size: 509 Bytes

Versions: 9

Compression:

Stored size: 509 Bytes

Contents

directory "<%=current_path%>"
environment "production"
daemonize true

pidfile '<%="#{shared_path}/pids/puma.pid"%>'
state_path '<%="#{shared_path}/pids/puma.state"%>'
stdout_redirect "<%="#{shared_path}/log/puma.stdout.log"%>", "<%="#{shared_path}/log/puma.stderr.log"%>", true

threads 0, 8
bind "<%="tcp://#{fetch(:app_server_host)}:#{fetch(:app_server_port)}"%>"
workers 4

preload_app!

on_worker_boot do
  ActiveSupport.on_load(:active_record) do
    ActiveRecord::Base.establish_connection
  end
end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capistrano-unformatt-1.1 vendor/templates/puma.rb.erb
capistrano-unformatt-1.0 vendor/templates/puma.rb.erb
capistrano-unformatt-0.7 vendor/templates/puma.rb.erb
capistrano-unformatt-0.6 vendor/templates/puma.rb.erb
capistrano-unformatt-0.5 vendor/templates/puma.rb.erb
capistrano-unformatt-0.4 vendor/templates/puma.rb.erb
capistrano-unformatt-0.3 vendor/templates/puma.rb.erb
capistrano-unformatt-0.2 vendor/templates/puma.rb.erb
capistrano-unformatt-0.1 vendor/templates/puma.rb.erb