Skip to content

Commit

Permalink
Update pre_lnbits.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tlindi committed Mar 7, 2024
1 parent 1d8eade commit 3156c6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/standard/usr/bin/service_scripts/pre_lnbits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ if [ ! -f /mnt/hdd/mynode/lnbits/update_config_$LNBITS_VERSION ]; then
# ADMIN_UI Enable
# sed -i "s|^LNBITS_ADMIN_UI=.*|LNBITS_ADMIN_UI=true|g" /mnt/hdd/mynode/lnbits/.env

# Update env with mynode REST PORT and
sed -i "s|^LND_REST_ENDPOINT=.*|LND_REST_ENDPOINT=https\:\/\/127.0.0.1:10080\/|g" /mnt/hdd/mynode/lnbits/.env
# Update env with mynode lnd REST ip and port
sed -i "s|^LND_REST_ENDPOINT=.*|LND_REST_ENDPOINT=https\:\/\/172.17.0.1:10080\/|g" /mnt/hdd/mynode/lnbits/.env

# Update env with files mapped in lnbits.service
sed -i "s|^LND_REST_CERT=.*|LND_REST_CERT=\"/app/tls.cert\"|g" /mnt/hdd/mynode/lnbits/.env
Expand Down

0 comments on commit 3156c6d

Please sign in to comment.