Defect #11277 » unicorn.conf.rb
| 1 |
# Unicorn Config file for Redmine app assumed to be located at APP_ROOT/config/
|
|---|---|
| 2 |
# Laucher should be passed at a minimum the location of this file.
|
| 3 |
# RACK_ENV other than development should be passed as a commandline option.
|
| 4 |
#
|
| 5 |
app_root = File.expand_path(File.dirname(File.dirname(__FILE__))) |
| 6 |
|
| 7 |
working_directory app_root |
| 8 |
|
| 9 |
listen "#{app_root}/tmp/sockets/.unicorn.sock" |
| 10 |
pid "#{app_root}/tmp/pids/unicorn.pid" |
| 11 |
stderr_path "#{app_root}/log/unicorn.log" |
| 12 |
stdout_path "#{app_root}/log/unicorn.log" |
| 13 |
|
- « Previous
- 1
- 2
- Next »