try again .env

This commit is contained in:
rootzoll
2022-07-27 14:36:56 +02:00
parent 528263df4b
commit 0aaa667842

View File

@@ -226,9 +226,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
RPC_USER=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcuser | cut -c 9-)
PASSWORD_B=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcpassword | cut -c 13-)
sudo touch /var/cache/raspiblitz/btc-rpc-explorer.env
sudo chmod 600 /var/cache/raspiblitz/btc-rpc-explorer.env || exit 1
sudo cat > /var/cache/raspiblitz/btc-rpc-explorer.env <<EOF
touch /var/cache/raspiblitz/btc-rpc-explorer.env
chmod 600 /var/cache/raspiblitz/btc-rpc-explorer.env || exit 1
cat > /var/cache/raspiblitz/btc-rpc-explorer.env <<EOF
# Host/Port to bind to
# Defaults: shown
BTCEXP_HOST=0.0.0.0