mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
update waiting times
This commit is contained in:
parent
da513b438a
commit
bca0620105
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue