Kane York 2015-07-21 19:22:54 -07:00
parent a59e9e6cee
commit 28aa70d0f3

View File

@ -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"