mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +00:00
Add code to update lnbits settings file (commented out)
This commit is contained in:
parent
279237ab63
commit
fac821baf0
|
@ -8,6 +8,14 @@ if [ ! -f /mnt/hdd/mynode/lnbits/.env ]; then
|
|||
chown bitcoin:bitcoin /mnt/hdd/mynode/lnbits/.env
|
||||
fi
|
||||
|
||||
# Force update of LNBits config file (increment to force new update)
|
||||
# LNBITS_CONFIG_UPDATE_NUM=1
|
||||
# if [ ! -f /mnt/hdd/mynode/lnbits/update_config_$LNBITS_CONFIG_UPDATE_NUM ]; then
|
||||
# cp -f /usr/share/mynode/lnbits.env /mnt/hdd/mynode/lnbits/.env
|
||||
# chown bitcoin:bitcoin /mnt/hdd/mynode/lnbits/.env
|
||||
# touch /mnt/hdd/mynode/lnbits/update_config_$LNBITS_CONFIG_UPDATE_NUM
|
||||
# fi
|
||||
|
||||
# Generate hex macaroons
|
||||
#macaroonAdminHex=$(xxd -ps -u -c 1000 /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/admin.macaroon)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user