vls-container/bitcoind/entrypoint.sh
Lakshya Singh 93884e15b4 Initial commit
see https://github.com/king-11/vls-containers/pull/1 for the original PR
discussion
2023-09-18 20:32:42 +02:00

13 lines
183 B
Bash
Executable File

#!/bin/sh
set -e
cp -u /bitcoin.conf $BITCOIN_DATA/
if [ $(echo "$1" | cut -c1) = "-" ]; then
echo "$0: assuming arguments for bitcoind"
set -- bitcoind "$@"
fi
echo
exec "$@"