forked from cerc-io/ipld-eth-server
fix entrypoint
This commit is contained in:
parent
290157a202
commit
2f4ed18231
@ -58,8 +58,13 @@ DEFAULT_OPTIONS="--config=$VDB_CONFIG_FILE"
|
|||||||
VDB_FULL_CL=${VDB_FULL_CL:-$VDB_COMMAND $DEFAULT_OPTIONS}
|
VDB_FULL_CL=${VDB_FULL_CL:-$VDB_COMMAND $DEFAULT_OPTIONS}
|
||||||
echo running: ./vulcanizedb $VDB_FULL_CL $@
|
echo running: ./vulcanizedb $VDB_FULL_CL $@
|
||||||
|
|
||||||
# XXX need to lose the env vars
|
vdb_args="$@"
|
||||||
./vulcanizedb $@
|
# default is to use the config passed by the build arg
|
||||||
|
if [[ -z "$vdb_args" ]];
|
||||||
|
vdb_args="--config=config.toml"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./vulcanizedb $vdb_args
|
||||||
rv=$?
|
rv=$?
|
||||||
|
|
||||||
if [ $rv != 0 ]; then
|
if [ $rv != 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user