projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e3a6c
)
discourse has to own /home/discourse otherwise rubygem issues
author
Sam
<sam.saffron@gmail.com>
Fri, 29 Apr 2016 06:11:08 +0000
(16:11 +1000)
committer
Sam
<sam.saffron@gmail.com>
Fri, 29 Apr 2016 06:11:08 +0000
(16:11 +1000)
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index bfd06ce637d0fc6fd6d6dd28aebbc37c8ff7302d..ae8db881d4f06bab817a22cf707ac6e4484a915f 100644
(file)
--- 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"