mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-18 14:17:12 -04:00
15 lines
552 B
Bash
Executable File
15 lines
552 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd /srv/ledgersmb
|
|
LSMB_CONFIG_FILE=${LSMB_CONFIG_FILE:-./local/conf/ledgersmb.yaml}
|
|
export LSMB_CONFIG_FILE
|
|
echo '--------- LEDGERSMB CONFIGURATION: ledgersmb.conf'
|
|
cat ${LSMB_CONFIG_FILE}
|
|
echo '--------- LEDGERSMB CONFIGURATION --- END'
|
|
|
|
# ':5762:' suppresses an uninitialized variable warning in starman
|
|
# the last colon means "don't connect using tls"; without it, there's a warning
|
|
exec starman --listen 0.0.0.0:5762 --workers ${LSMB_WORKERS:-5} \
|
|
-I lib -I old/lib \
|
|
--preload-app bin/ledgersmb-server.psgi
|