2020-03-23 18:05:39 +00:00
|
|
|
#!/bin/sh
|
2020-05-01 15:49:07 +00:00
|
|
|
|
2023-01-25 22:10:29 +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
|
|
|
|
|
2024-08-03 20:09:27 +00:00
|
|
|
exec $START_CMD ${VDB_COMMAND:-serve}
|