update waiting times

This commit is contained in:
rootzoll 2023-05-16 13:15:58 +02:00
parent da513b438a
commit bca0620105
3 changed files with 3 additions and 4 deletions

View file

@ -65,7 +65,6 @@ case $CHOICE in
exit 0;; exit 0;;
RESET) RESET)
sudo /home/admin/config.scripts/lnd.credentials.sh reset "${chain:-main}net" 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 sudo /home/admin/config.scripts/blitz.shutdown.sh reboot
exit 0;; exit 0;;
SYNC) SYNC)

View file

@ -105,11 +105,11 @@ if [ "$1" = "reset" ]; then
echo "# restarting LND ... wait 10 secs" echo "# restarting LND ... wait 10 secs"
# shellcheck disable=SC2154 # shellcheck disable=SC2154
sudo systemctl start "${netprefix}lnd" sudo systemctl start "${netprefix}lnd"
sleep 10 sleep 20
# unlock wallet after restart # unlock wallet after restart
sudo /home/admin/config.scripts/lnd.unlock.sh "${CHAIN}" sudo /home/admin/config.scripts/lnd.unlock.sh "${CHAIN}"
sleep 10 sleep 15
if [ ${resetMacaroons} -eq 1 ]; then if [ ${resetMacaroons} -eq 1 ]; then
echo "# copy new macaroons to central app-data directory and ensure unix ownerships and permissions" echo "# copy new macaroons to central app-data directory and ensure unix ownerships and permissions"

View file

@ -177,7 +177,7 @@ if [ "$1" = "refresh" ]; then
do do
count=$(($count + 1)) count=$(($count + 1))
echo "# (${count}/60) check for cert" echo "# (${count}/60) check for cert"
if [ ${count} -gt 60 ]; then if [ ${count} -gt 120 ]; then
sudo systemctl stop lnd sudo systemctl stop lnd
echo "error='failed to generate new LND cert'" echo "error='failed to generate new LND cert'"
exit 1 exit 1