From cc81fc95f228ccdd8963bde81425e076ab0d7dd8 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 29 Apr 2016 16:11:08 +1000 Subject: [PATCH] discourse has to own /home/discourse otherwise rubygem issues --- templates/web.template.yml | 1 + 1 file changed, 1 insertion(+) 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" -- 2.25.1