mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +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-)
|
||||
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
|
||||
|
Reference in New Issue
Block a user