lib/capistrano/templates/puma.rb.erb in capistrano3-puma-2.0.0 vs lib/capistrano/templates/puma.rb.erb in capistrano3-puma-3.0.0
- old
+ new
@@ -22,9 +22,13 @@
workers <%= puma_workers %>
<% if fetch(:puma_worker_timeout) %>
worker_timeout <%= fetch(:puma_worker_timeout).to_i %>
<% end %>
+<% if puma_daemonize? %>
+daemonize
+<% end %>
+
<% if puma_preload_app? %>
preload_app!
<% else %>
prune_bundler
<% end %>