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:
a59e9e6
)
Abort if domain is not configured
author
Kane York
<rikingcoding@gmail.com>
Wed, 22 Jul 2015 02:22:54 +0000
(19:22 -0700)
committer
Kane York
<rikingcoding@gmail.com>
Wed, 22 Jul 2015 02:22:54 +0000
(19:22 -0700)
https://meta.discourse.org/t/stupid-discourse-examples-com-set-up-issue/31260/9?u=riking
templates/web.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index b23aaaba9f75793dad2446a0d674398cde5e7012..b4fdd927e2a0812aa02986ddf6c01044080685d2 100644
(file)
--- a/
templates/web.template.yml
+++ b/
templates/web.template.yml
@@
-22,6
+22,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'
- file:
path: /etc/runit/1.d/copy-env
chmod: "+x"