Skip to content

A platform for community discussion. Free, open, simple.

DEV: Revert syntax-tree line change in unicorn.conf.rb listen (#19874)

Martin Brennan553b4888ba81
diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rb
index 2e0b22f48f4..68bb4e2efa5 100644
--- a/config/unicorn.conf.rb
+++ b/config/unicorn.conf.rb
@@ -16,8 +16,9 @@ worker_processes (ENV["UNICORN_WORKERS"] || 3).to_i
working_directory discourse_path
# listen "#{discourse_path}/tmp/sockets/unicorn.sock"
-listen ENV["UNICORN_LISTENER"] ||
- "#{(ENV["UNICORN_BIND_ALL"] ? "" : "127.0.0.1:")}#{(ENV["UNICORN_PORT"] || 3000).to_i}"
+
+# stree-ignore
+listen ENV["UNICORN_LISTENER"] || "#{(ENV["UNICORN_BIND_ALL"] ? "" : "127.0.0.1:")}#{(ENV["UNICORN_PORT"] || 3000).to_i}"
FileUtils.mkdir_p("#{discourse_path}/tmp/pids") if !File.exist?("#{discourse_path}/tmp/pids")