15 lines
374 B
Bash
Executable File
15 lines
374 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ConfigDir=/config
|
|
LogDir=/logs
|
|
|
|
Cmd="python3.12"
|
|
Cmd+=" cvttpy/apps/microservices/market_gateways/md_gateway.py"
|
|
Cmd+=" --config=${ConfigDir}/${MDGW_CONFIG_FILE:-cvtt_musvc.cfg}"
|
|
Cmd+=" --credentials_file=${ConfigDir}/${MDGW_CREDS_FILE:-.creds}"
|
|
Cmd+=" --log_file=${LogDir}/${MDGW_LOG_FILE:-%T.md_gateway.log}"
|
|
Cmd+=" ${MDGW_ADD_ARGS}"
|
|
echo ${Cmd}
|
|
exec ${Cmd}
|
|
|