mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-19 10:40:31 -04:00
Print configuration just before starting the service
Instead of after the configuration phase; printing it before service start supports debugging better
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
#!/usr/bin/with-contenv /bin/bash
|
||||
|
||||
|
||||
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'
|
||||
|
||||
s6-setuidgid www-data /usr/local/bin/run.sh
|
||||
|
Reference in New Issue
Block a user