From: Guo Xiang Tan Date: Mon, 30 Oct 2017 07:55:54 +0000 (+0800) Subject: Revert "FIX: Ensure that log files exists in mounted directory." X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=50cf1c945006397b6469f5ab536be12fd922a0ef;p=discourse_docker.git Revert "FIX: Ensure that log files exists in mounted directory." This reverts commit e1b203f209902a599851d5666e0933b00c9a25cd. --- 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