We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7889fe3 commit 8bd0b66Copy full SHA for 8bd0b66
templates/web.template.yml
@@ -45,7 +45,7 @@ run:
45
conf=/var/www/discourse/config/discourse.conf
46
47
# find DISCOURSE_ env vars, strip the leader, lowercase the key
48
- /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}
49
50
- file:
51
path: /etc/service/unicorn/run
0 commit comments