Sha256: aef340d5f0d47ad6b9ab8fbb1e1e2dc7ca69f65d8685ef0be25e84dcf05ef45a

Contents?: true

Size: 420 Bytes

Versions: 27

Compression:

Stored size: 420 Bytes

Contents

worker_processes Integer(ENV['WEB_CONCURRENCY'] || 3)
timeout 30
preload_app true

before_fork do |server, worker|
  Signal.trap 'TERM' do
    puts 'Unicorn master intercepting TERM and sending myself QUIT instead'
    Process.kill 'QUIT', Process.pid
  end
end

after_fork do |server, worker|
  Signal.trap 'TERM' do
    puts 'Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT'
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
togostanza-2.2.2 templates/provider/config/unicorn.rb.erb
togostanza-2.2.1 templates/provider/config/unicorn.rb.erb
togostanza-2.2.0 templates/provider/config/unicorn.rb.erb
togostanza-2.1.3 templates/provider/config/unicorn.rb.erb
togostanza-2.1.2 templates/provider/config/unicorn.rb.erb
togostanza-2.1.1 templates/provider/config/unicorn.rb.erb
togostanza-2.1.0 templates/provider/config/unicorn.rb.erb
togostanza-2.0.0 templates/provider/config/unicorn.rb.erb
togostanza-1.5.0 templates/provider/config/unicorn.rb.erb
togostanza-1.4.1 templates/provider/config/unicorn.rb.erb
togostanza-1.4.0 templates/provider/config/unicorn.rb.erb
togostanza-1.3.3 templates/provider/config/unicorn.rb.erb
togostanza-1.3.2 templates/provider/config/unicorn.rb.erb
togostanza-1.3.1 templates/provider/config/unicorn.rb.erb
togostanza-1.3.0 templates/provider/config/unicorn.rb.erb
togostanza-1.2.2 templates/provider/config/unicorn.rb.erb
togostanza-1.2.1 templates/provider/config/unicorn.rb.erb
togostanza-1.2.0 templates/provider/config/unicorn.rb.erb
togostanza-1.1.0 templates/provider/config/unicorn.rb.erb
togostanza-1.0.6 templates/provider/config/unicorn.rb.erb