mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:25:35 +08:00
DEV: Allow UNICORN_PORT
env to be set.
This commit is contained in:
parent
d5a7b818ba
commit
9e63ebdf0f
|
@ -19,11 +19,8 @@ if !ARGV.include?("-E") &&
|
|||
Pathname.new(__FILE__).realpath))
|
||||
end
|
||||
|
||||
ENV["UNICORN_PORT"] = "9292"
|
||||
|
||||
if !ENV["UNICORN_SIDEKIQS"]
|
||||
ENV["UNICORN_SIDEKIQS"] = "1"
|
||||
end
|
||||
ENV["UNICORN_PORT"] ||= "9292"
|
||||
ENV["UNICORN_SIDEKIQS"] ||= "1"
|
||||
end
|
||||
|
||||
load Gem.bin_path('unicorn', 'unicorn')
|
||||
|
|
Loading…
Reference in New Issue
Block a user