Sha256: 0b09d4572a2720bfad1b6e4e6f380f37df72865013a37d6e22cfde4a6da0e98d
Contents?: true
Size: 718 Bytes
Versions: 1
Compression:
Stored size: 718 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 %> <% if fetch(:puma_preload_app) %> preload_app! <% end %> on_restart do puts 'Refreshing Gemfile' ENV["BUNDLE_GEMFILE"] = "<%= fetch(:bundle_gemfile, "#{current_path}/Gemfile") %>" end <% if fetch(:puma_init_active_record) %> on_worker_boot do ActiveSupport.on_load(:active_record) do ActiveRecord::Base.establish_connection end end <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano3-puma-0.2.2 | lib/capistrano/templates/puma.rb.erb |