Sha256: 4641e16acdcbfb6145aa2a938d4ba4c66030a64de610222547e825c86a6a3d36

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

directory   '<%= current_path %>'
environment 'production'
daemonize false
quiet
rackup '<%= fetch(:runit_danthes_rackup) %>'
pidfile '<%= fetch(:runit_danthes_pid) %>'
state_path '<%= fetch(:runit_danthes_state) %>'
stdout_redirect '<%= fetch(:runit_danthes_access_log) %>', '<%= fetch(:runit_danthes_error_log) %>', true

workers 1
threads <%= fetch(:runit_danthes_threads_min, 0) %>, <%= fetch(:runit_danthes_threads_max, 16) %>
bind "<%= fetch(:runit_danthes_bind) %>"

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-runit-danthes-0.2.0 lib/capistrano/templates/danthes.rb.erb
capistrano-runit-danthes-0.1.0 lib/capistrano/templates/danthes.rb.erb