Commit 04fec118 by e0d

Working unicorn with env config.

workers from env, use socket

syntax change

temp hard code

path changes, debugging.

typo.

dynamic env.

more vars.
parent 02feaf16
worker_processes 4
worker_processes ENV['WORKER_PROCESSES'].to_i || 4
timeout 25
preload_app true
listen "unix:" + ENV['DATA_DIR'] + "/forum.sock", :backlog => 512
timeout 120
pid ENV['DATA_DIR'] + "/forum_unicorn.pid"
before_fork do |server, worker|
Signal.trap 'TERM' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment