update web template to check for thpoff
authorSam <sam.saffron@gmail.com>
Thu, 2 Aug 2018 07:38:44 +0000 (17:38 +1000)
committerSam <sam.saffron@gmail.com>
Thu, 2 Aug 2018 07:38:44 +0000 (17:38 +1000)
templates/web.template.yml

index cc19d92c3e41982537bc121a9c22c7f96d43faaf..a0b7fa347548416b283c1f91aaef853b6fd3e481 100644 (file)
@@ -24,6 +24,7 @@ params:
   upload_size: 10m
 
 run:
+  - exec: thpoff echo "thpoff is installed!"
   - 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