commit d31974aa440410d1a2f2e0b7ba76e80066e0d53a
parent 6ee606bbadea26cd860ad145314b08dc8c6d6f24
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 4 Mar 2023 15:17:13 +0100
-cleaner
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/db/install-nexus/pgsql b/debian/db/install-nexus/pgsql
@@ -4,13 +4,13 @@ set -eu
# Get database settings from dbconfig-common and write libeufin configuration files.
if [ -f /etc/dbconfig-common/libeufin-nexus.conf ]; then
- . /etc/dbconfig-common/libeufin-nexus
+ . /etc/dbconfig-common/libeufin-nexus.conf
.conf
case "$dbc_dbtype" in
pgsql)
# We assume ident auth here. We might support password auth later.
mkdir -p /etc/libeufin/
- echo -e "LIBEUFIN_NEXUS_PORT=5017" >> \
+ echo -e "LIBEUFIN_NEXUS_PORT=5017" > \
/etc/libeufin/nexus.env
echo -e "LIBEUFIN_NEXUS_DB_CONNECTION=jdbc:postgres:///${dbc_dbserver}/${dbc_dbname}?user=${dbc_dbuser}&password=${dbc_dbpass}\n\n" >> \
/etc/libeufin/nexus.env
diff --git a/debian/db/install-sandbox/pgsql b/debian/db/install-sandbox/pgsql
@@ -9,7 +9,7 @@ if [ -f /etc/dbconfig-common/libeufin-sandbox.conf ]; then
pgsql)
# We assume ident auth here. We might support password auth later.
mkdir -p /etc/libeufin/
- echo -e "LIBEUFIN_SANDBOX_PORT=5016" >> \
+ echo -e "LIBEUFIN_SANDBOX_PORT=5016" > \
/etc/libeufin/sandbox.env
echo -e "LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:postgres://${dbc_dbserver}/${dbc_dbname}?user=${dbc_dbuser}&password=${dbc_dbpass}\n\n" >> \
/etc/libeufin/sandbox.env