mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
delete also litd macaroon
This commit is contained in:
parent
96887861c5
commit
95a5cc9230
1 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,9 @@ if [ "$1" = "reset" ]; then
|
||||||
if [ "${keepOldMacaroons}" != "1" ]; then
|
if [ "${keepOldMacaroons}" != "1" ]; then
|
||||||
sudo rm /home/bitcoin/.lnd/data/chain/"${network}"/"${chain}"net/macaroons.db
|
sudo rm /home/bitcoin/.lnd/data/chain/"${network}"/"${chain}"net/macaroons.db
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "# delete also lit macaroons if present"
|
||||||
|
sudo rm /mnt/hdd/app-data/.lit/mainnet/lit.macaroon 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${resetTLS} -eq 1 ]; then
|
if [ ${resetTLS} -eq 1 ]; then
|
||||||
|
@ -121,6 +124,9 @@ if [ "$1" = "reset" ]; then
|
||||||
|
|
||||||
/home/admin/config.scripts/lnd.credentials.sh sync "${CHAIN}"
|
/home/admin/config.scripts/lnd.credentials.sh sync "${CHAIN}"
|
||||||
|
|
||||||
|
echo "# restart also litd if present (reboot advised)"
|
||||||
|
sudo systemctl restart litd 2>/dev/null
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# SYNC
|
# SYNC
|
||||||
###########################
|
###########################
|
||||||
|
|
Loading…
Add table
Reference in a new issue