From 6d00b2fab0a046bf08e2c3148b2b3bab8fc5cdcf Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 24 Jul 2014 14:03:27 -0400 Subject: [PATCH] Ensure /shared/log/rails is owned by discourse user --- templates/web.template.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/web.template.yml b/templates/web.template.yml index 063e79e..84a699e 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -49,6 +49,7 @@ run: # postgres sv start copy_env || exit 1 cd $home + chown -R discourse:www-data /shared/log/rails exec sudo -E -u discourse LD_PRELOAD=/usr/lib/libjemalloc.so.1 bundle exec config/unicorn_launcher -E production -c config/unicorn.conf.rb - file: -- 2.25.1