From 05d4d347d452db501195758a7272e0e7780519aa Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 18 Jul 2018 09:53:14 +0800 Subject: [PATCH] Remove replace commands that are no longer required in Imagemagick7. --- templates/web.template.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/templates/web.template.yml b/templates/web.template.yml index ab2522f..b20fec9 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -24,22 +24,6 @@ params: upload_size: 10m run: - # see: https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=29588 - - replace: - filename: /usr/local/etc/ImageMagick-6/policy.xml - from: "" - to: | - - - - - - - - - - - - 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 -- 2.25.1