commit 9a39578788de04ea9c31f3b1a7a12875ec59c55b
parent bf57389f360b37a2d8a331b189c2b8883da2b7a4
Author: Florian Dold <florian@dold.me>
Date: Fri, 13 Jun 2025 00:27:34 +0200
use SANCTION_LIST in template only if defined
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/roles/exchange/templates/etc/taler-exchange/conf.d/exchange-business.conf.j2 b/roles/exchange/templates/etc/taler-exchange/conf.d/exchange-business.conf.j2
@@ -50,13 +50,13 @@ PAYTO_URI = {{ EXCHANGE_BANK_ACCOUNT_PAYTO }}
WIRE_METHOD = iban
-
+{% if SANCTION_LIST is defined %}
[exchange-sanctionscheck]
RATER_COMMAND = /usr/bin/robocop /var/lib/taler-exchange/{{ SANCTION_LIST }}
# Name where we store the sanctions check offset.
MIN_ROW_FILENAME = ${HOME}/.cache/sanctionscheck-offset.bin
-
+{% endif %}
# Credentials to access the account are in a separate
# config file with restricted permissions.