Sha256: 48967f843b6e10b6fc6a0be01e2bab870db2502486d3f11cb63aac02467f1058

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

#!/usr/bin/env puma

directory '<%= current_path %>'
environment '<%= fetch(:puma_env) %>'
daemonize true
pidfile "<%=fetch(:puma_pid)%>"
state_path "<%=fetch(:puma_state)%>"
stdout_redirect '<%=fetch(:puma_access_log)%>', '<%=fetch(:puma_error_log)%>', true
threads <%=fetch(:puma_threads).join(',')%>
bind "<%=fetch(:puma_bind)%>"

workers <%= puma_workers %>
preload_app!

on_restart do
  puts 'On restart...Refresh ENV["BUNDLE_GEMFILE"]'
  ENV["BUNDLE_GEMFILE"] = "<%= fetch(:bundle_gemfile, "#{current_path}/Gemfile") %>"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano3-puma-0.1.3 lib/capistrano/templates/puma.rb.erb
capistrano3-puma-0.1.2 lib/capistrano/templates/puma.rb.erb