Commit 13e41ea3 authored by Robert Speicher's avatar Robert Speicher
Browse files

Update Unicorn config

parent 196a79a5
# TODO (rspeicher): Change path # TODO (rspeicher): Change path
@dir = "/path/to/app/" dir = "/path/to/app/"
worker_processes 2 worker_processes 2
working_directory @dir working_directory dir
timeout 30 timeout 30
listen "#{@dir}tmp/sockets/unicorn.sock", backlog: 64 listen File.join(dir, %w(tmp sockets unicorn.sock)), backlog: 64
pid "#{@dir}tmp/pids/unicorn.pid" pid File.join(dir, %w(tmp pids unicorn.pid))
stderr_path "#{@dir}log/unicorn.stderr.log" stderr_path File.join(dir, %w(log unicorn.stderr.log))
stdout_path "#{@dir}log/unicorn.stdout.log" stdout_path File.join(dir, %w(log unicorn.stdout.log))
Supports Markdown
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