vls-container/txood/entrypoint.sh
Lakshya Singh b02b64ece1
txoo: compose env var set network not chain
- no need of using switch in entrypoint
- directly set the network instead of chain
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2023-11-05 16:24:11 +05:30

11 lines
168 B
Bash

#!/bin/sh
set -e
if [ $(echo "$1" | cut -c1) = "-" ]; then
echo "$0: assuming arguments for txood"
set -- txood --network $BITCOIN_NETWORK "$@"
fi
echo
exec "$@"