mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
Add ENV variable to specify path to write unicorn's pid.
This commit is contained in:
parent
0ecb668d49
commit
87e77267fa
@ -17,7 +17,7 @@ listen (ENV["UNICORN_PORT"] || 3000).to_i
|
||||
timeout 30
|
||||
|
||||
# feel free to point this anywhere accessible on the filesystem
|
||||
pid "#{discourse_path}/tmp/pids/unicorn.pid"
|
||||
pid (ENV["UNICORN_PID_PATH"] || "#{discourse_path}/tmp/pids/unicorn.pid")
|
||||
|
||||
# By default, the Unicorn logger will write to stderr.
|
||||
# Additionally, some applications/frameworks log to stderr or stdout,
|
||||
|
Loading…
Reference in New Issue
Block a user