mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-08-20 15:47:24 -04:00
Instead of after the configuration phase; printing it before service start supports debugging better
13 lines
392 B
Bash
Executable File
13 lines
392 B
Bash
Executable File
#!/bin/bash
|
|
|
|
home_dir="$(dirname $(readlink -f $BASH_SOURCE))"
|
|
"$home_dir/config.sh" || { echo "Failed configuration" ; exit 1 }
|
|
|
|
LSMB_CONFIG_FILE=${LSMB_CONFIG_FILE:-/srv/ledgersmb/local/conf/ledgersmb.yaml}
|
|
export LSMB_CONFIG_FILE
|
|
echo "--------- LEDGERSMB CONFIGURATION: $LSMB_CONFIG_FILE"
|
|
cat ${LSMB_CONFIG_FILE}
|
|
echo '--------- LEDGERSMB CONFIGURATION --- END'
|
|
|
|
exec "$home_dir/run.sh"
|