mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
update waiting times
This commit is contained in:
@@ -65,7 +65,6 @@ case $CHOICE in
|
||||
exit 0;;
|
||||
RESET)
|
||||
sudo /home/admin/config.scripts/lnd.credentials.sh reset "${chain:-main}net"
|
||||
sudo /home/admin/config.scripts/lnd.credentials.sh sync "${chain:-main}net"
|
||||
sudo /home/admin/config.scripts/blitz.shutdown.sh reboot
|
||||
exit 0;;
|
||||
SYNC)
|
||||
|
||||
@@ -105,11 +105,11 @@ if [ "$1" = "reset" ]; then
|
||||
echo "# restarting LND ... wait 10 secs"
|
||||
# shellcheck disable=SC2154
|
||||
sudo systemctl start "${netprefix}lnd"
|
||||
sleep 10
|
||||
sleep 20
|
||||
|
||||
# unlock wallet after restart
|
||||
sudo /home/admin/config.scripts/lnd.unlock.sh "${CHAIN}"
|
||||
sleep 10
|
||||
sleep 15
|
||||
|
||||
if [ ${resetMacaroons} -eq 1 ]; then
|
||||
echo "# copy new macaroons to central app-data directory and ensure unix ownerships and permissions"
|
||||
|
||||
@@ -177,7 +177,7 @@ if [ "$1" = "refresh" ]; then
|
||||
do
|
||||
count=$(($count + 1))
|
||||
echo "# (${count}/60) check for cert"
|
||||
if [ ${count} -gt 60 ]; then
|
||||
if [ ${count} -gt 120 ]; then
|
||||
sudo systemctl stop lnd
|
||||
echo "error='failed to generate new LND cert'"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user