From 096350ad7bf0387c3c6f2b0cc30ae6c383e8bf95 Mon Sep 17 00:00:00 2001 From: Erik Huelsmann Date: Sat, 30 Sep 2023 22:55:43 +0200 Subject: [PATCH] Fix ledgersmb-server.psgi not finding configuration Fixes #34 --- start.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 2158329..387b7bc 100755 --- a/start.sh +++ b/start.sh @@ -127,8 +127,10 @@ fi # starman instance (instead of just the worker, which will immediately # get restarted) on error; it also has a positive effect on memory use +LSMB_CONFIG_FILE=${LSMB_CONFIG_FILE:-./local/conf/ledgersmb.yaml} +export LSMB_CONFIG_FILE echo '--------- LEDGERSMB CONFIGURATION: ledgersmb.conf' -cat ${LSMB_CONFIG_FILE:-ledgersmb.conf} +cat ${LSMB_CONFIG_FILE} echo '--------- LEDGERSMB CONFIGURATION --- END' # ':5762:' suppresses an uninitialized variable warning in starman