From 50cf1c945006397b6469f5ab536be12fd922a0ef Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 30 Oct 2017 15:55:54 +0800 Subject: [PATCH] Revert "FIX: Ensure that log files exists in mounted directory." This reverts commit e1b203f209902a599851d5666e0933b00c9a25cd. --- templates/web.template.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index 4e2f2f5..8bfe6da 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -62,7 +62,7 @@ run: # 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 - + - file: path: /etc/runit/1.d/enable-brotli chmod: "+x" @@ -264,7 +264,6 @@ run: fi if [[ ! -d /shared/log/rails ]]; then mkdir -p /shared/log/rails - touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log chown -R discourse:www-data /shared/log/rails fi if [[ ! -d /shared/uploads ]]; then -- 2.25.1