mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
correct issues
This commit is contained in:
parent
aa9a9a5a72
commit
84c4dfd22d
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV["server"])
|
if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV == ["server"])
|
||||||
|
ENV["UNICORN_PORT"] = "9292"
|
||||||
exec File.expand_path("unicorn", __dir__)
|
exec File.expand_path("unicorn", __dir__)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -21,6 +21,7 @@ if !ARGV.include?("-E") &&
|
|||||||
|
|
||||||
ENV["UNICORN_PORT"] ||= "9292"
|
ENV["UNICORN_PORT"] ||= "9292"
|
||||||
ENV["UNICORN_SIDEKIQS"] ||= "1"
|
ENV["UNICORN_SIDEKIQS"] ||= "1"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
load Gem.bin_path('unicorn', 'unicorn')
|
load Gem.bin_path('unicorn', 'unicorn')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user