b0xxer 3ff69e504e Deleted specific bitcoin role.
Deleted specific build role.

Moved all to general apps role.

Make app_list list so tasks can iterate thru list and install each app
2024-02-11 08:42:22 -06:00

17 lines
426 B
Bash

#!/bin/sh
set -ex
# Generate bitcoin.conf
btc_init
# Default / no argument invocation listens for RPC commands and has to accept non-localhost because of
# Docker port proxying or Docker private networking.
if [ $# -eq 0 ]; then
# If IPv6 is in the container do both:
#set -- '-rpcbind=[::]:8332' '-rpcallowip=::/0' '-rpcallowip=0.0.0.0/0'
set -- '-rpcbind=:8332' '-rpcallowip=0.0.0.0/0'
fi
exec bitcoind "$@"