mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
try again .env
This commit is contained in:
@@ -226,9 +226,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
RPC_USER=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcuser | cut -c 9-)
|
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-)
|
PASSWORD_B=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcpassword | cut -c 13-)
|
||||||
|
|
||||||
sudo touch /var/cache/raspiblitz/btc-rpc-explorer.env
|
touch /var/cache/raspiblitz/btc-rpc-explorer.env
|
||||||
sudo chmod 600 /var/cache/raspiblitz/btc-rpc-explorer.env || exit 1
|
chmod 600 /var/cache/raspiblitz/btc-rpc-explorer.env || exit 1
|
||||||
sudo cat > /var/cache/raspiblitz/btc-rpc-explorer.env <<EOF
|
cat > /var/cache/raspiblitz/btc-rpc-explorer.env <<EOF
|
||||||
# Host/Port to bind to
|
# Host/Port to bind to
|
||||||
# Defaults: shown
|
# Defaults: shown
|
||||||
BTCEXP_HOST=0.0.0.0
|
BTCEXP_HOST=0.0.0.0
|
||||||
|
Reference in New Issue
Block a user