Refresh LNBits config before each restart

This commit is contained in:
Taylor Helsper 2022-11-04 19:09:45 -05:00
parent 18e61f4934
commit 9bfefa99a5

View File

@ -2,6 +2,8 @@
set -x
# Copy config file
cp /usr/share/mynode/lnbits.env /opt/mynode/lnbits/.env
# Generate hex macaroons
#macaroonAdminHex=$(xxd -ps -u -c 1000 /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/admin.macaroon)