From b9810f32671e977e6c7768469e069849496fdb34 Mon Sep 17 00:00:00 2001 From: Jeff Wong Date: Fri, 18 Jul 2025 00:35:58 -0700 Subject: [PATCH] Fix discourse conf file creation --- templates/web.template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index 5e5229af8..37dfc38d3 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -45,7 +45,7 @@ run: conf=/var/www/discourse/config/discourse.conf # find DISCOURSE_ env vars, strip the leader, lowercase the key - /usr/local/bin/ruby -e 'ENV.each{|k,v| puts "#{$1.downcase} = '\''#{v}'\''" if k =~ /^DISCOURSE_(.*)/}' > $conf + /usr/local/bin/ruby -e 'ENV.each{|k,v| puts "#{$1.downcase} = '\''#{v}'\''" if k =~ /^DISCOURSE_(.*)/}' | install -m 600 -o discourse /dev/stdin ${conf} - file: path: /etc/service/unicorn/run