commit a71ad247e1af068fbd8ab1256f06bdc16668df32
parent e4d2d5ca8b6214988200be9a37e1fe5bb87ed6c6
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 3 Feb 2024 22:48:43 +0100
leave libeufin-nexus off, conversion may be unready
Diffstat:
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/regional-currency/config_libeufin_nexus.sh b/regional-currency/config_libeufin_nexus.sh
@@ -14,6 +14,10 @@ source config/user.conf
taler-config -s nexus-ebics -o currency \
-V $FIAT_CURRENCY -c /etc/libeufin/libeufin-nexus.conf
-say "Start nexus tasks..."
-systemctl enable --now libeufin-nexus-ebics-fetch
-systemctl enable --now libeufin-nexus-ebics-submit
+# Note: this seems dangerious: the user has had
+# no chance to actually configure conversion yet!
+# Let's keep this off!
+#
+# say "Start nexus tasks..."
+# systemctl enable --now libeufin-nexus-ebics-fetch
+# systemctl enable --now libeufin-nexus-ebics-submit
diff --git a/regional-currency/main.sh b/regional-currency/main.sh
@@ -82,5 +82,10 @@ say "For the SMS cash-out TAN, make sure that telesign-secret"
say "is found in the PATH and that it defines the CUSTOMER_ID"
say "and API_KEY environment variables."
+say "If you want a setup with currency conversion, you"
+say "should first complete the EBICS setup,"
+say "then configure currency conversion and"
+say "finally start the libeufin-nexus services."
+
exit 0
# END INSTALLATION
diff --git a/regional-currency/setup-exchange.sh b/regional-currency/setup-exchange.sh
@@ -148,7 +148,7 @@ cat << EOF > /etc/taler/secrets/exchange-db.secret.conf
[exchangedb-postgres]
CONFIG=postgres:///exchange
EOF
-
+
chmod 440 /etc/taler/secrets/exchange-db.secret.conf
chown root:taler-exchange-db /etc/taler/secrets/exchange-db.secret.conf