ipld-eth-server/entrypoint.sh

9 lines
303 B
Bash
Raw Normal View History

2020-03-23 18:05:39 +00:00
#!/bin/sh
2020-05-01 15:49:07 +00:00
START_CMD="./ipld-eth-server"
if [ "true" == "$CERC_REMOTE_DEBUG" ] && [ -x "/usr/local/bin/dlv" ]; then
START_CMD="/usr/local/bin/dlv --listen=:40000 --headless=true --api-version=2 --accept-multiclient exec `pwd`/ipld-eth-server --continue --"
fi
exec $START_CMD ${VDB_COMMAND:-serve}