From: Sam Date: Fri, 29 Apr 2016 06:11:08 +0000 (+1000) Subject: discourse has to own /home/discourse otherwise rubygem issues X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cc81fc95f228ccdd8963bde81425e076ab0d7dd8;p=discourse_docker.git discourse has to own /home/discourse otherwise rubygem issues --- diff --git a/templates/web.template.yml b/templates/web.template.yml index bfd06ce..ae8db88 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -23,6 +23,7 @@ params: run: - exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end' - exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end' + - exec: chown -R discourse /home/discourse - file: path: /etc/runit/1.d/copy-env chmod: "+x"