commit 253005780bfd401ef6131d4ea8e8acc9b668f4fa
parent 2c96fd2fd35a51f611ca211b842bd445f37bf2b5
Author: Florian Dold <florian@dold.me>
Date: Mon, 5 Feb 2024 17:41:13 +0100
strip down Debian config, unify DB names
Diffstat:
4 files changed, 4 insertions(+), 67 deletions(-)
diff --git a/contrib/bank.conf b/contrib/bank.conf
@@ -73,4 +73,4 @@ SPA = $DATADIR/spa/
SQL_DIR = $DATADIR/sql/
# DB connection string
-CONFIG = postgresql:///libeufin
-\ No newline at end of file
+CONFIG = postgresql:///libeufin
diff --git a/contrib/nexus.conf b/contrib/nexus.conf
@@ -36,7 +36,7 @@ CLIENT_PRIVATE_KEYS_FILE = ${LIBEUFIN_NEXUS_HOME}/client-ebics-keys.json
BANK_DIALECT = postfinance
[nexus-postgres]
-CONFIG = postgres:///libeufinnexus
+CONFIG = postgres:///libeufin
[libeufin-nexusdb-postgres]
SQL_DIR = $DATADIR/sql/
diff --git a/debian/etc/libeufin/libeufin-bank.conf b/debian/etc/libeufin/libeufin-bank.conf
@@ -2,34 +2,8 @@
[libeufin-bank]
-# Internal currency of the libeufin-bank
-CURRENCY = KUDOS
-
-# Default debt limit for newly created accounts
-# DEFAULT_DEBT_LIMIT = KUDOS:0
-
-# Value of the registration bonus for new users
-# REGISTRATION_BONUS = KUDOS:0
-
-# Allow account registration by anyone
-# ALLOW_REGISTRATION = no
-
-# Allow an account to delete itself
-# ALLOW_ACCOUNT_DELETION = no
-
-# Enable regional currency conversion
-# ALLOW_CONVERSION = no
-
-# Path to TAN challenge transmission script via sms. If not specified, this TAN channel wil be unuspported.
-# TAN_SMS = libeufin-tan-sms.sh
-
-# Path to TAN challenge transmission script via email. If not specified, this TAN channel wil be unuspported.
-# TAN_EMAIL = libeufin-tan-email.sh
-
# Where "libeufin-bank serve" serves its API
SERVE = tcp
+# The default port for libeufin-bank on Debian is different than the default
+# for historical reason. Might be merged in the future.
PORT = 9099
-
-
-[libeufin-bankdb-postgres]
-CONFIG = postgres:///libeufin
diff --git a/debian/etc/libeufin/libeufin-nexus.conf b/debian/etc/libeufin/libeufin-nexus.conf
@@ -1,37 +1 @@
# This is the main configuration entrypoint for the libeufin-nexus.
-
-[nexus-postgres]
-CONFIG = postgres:///libeufin
-
-[nexus-ebics]
-
-# Currency used by the bank where Nexus is client.
-CURRENCY = KUDOS
-
-# Base URL of the bank server.
-HOST_BASE_URL = http://ebics.bank.com/
-
-# EBICS host ID.
-HOST_ID = mybank
-
-# EBICS user ID, as assigned by the bank.
-USER_ID = myuser
-
-
-# EBICS partner ID, as assigned by the bank.
-PARTNER_ID = myorg
-
-# EBICS partner ID, as assigned by the bank.
-SYSTEM_ID = banksys
-
-IBAN = CH9789144829733648596
-BIC = POFICHBE
-NAME = LibEuFin
-
-
-[nexus-fetch]
-FREQUENCY = 30s
-
-[nexus-submit]
-FREQUENCY = 30s
-