mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 02:12:09 +08:00
DEV: Allow UNICORN_PORT
env to be set.
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user