debug github check

This commit is contained in:
shocknet-justin 2025-08-27 12:19:57 -04:00
parent f7adf8c03e
commit 4439dd9ffa
2 changed files with 22 additions and 7 deletions

View file

@ -70,8 +70,10 @@ EOF
exit 1
fi
log "Giving ${SECONDARY_COLOR}LND${RESET_COLOR} a few seconds to start before starting ${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR}..."
sleep 10
if [ "$LND_STATUS" = "0" ] || [ "$LND_STATUS" = "1" ]; then
log "Giving ${SECONDARY_COLOR}LND${RESET_COLOR} a few seconds to start before starting ${SECONDARY_COLOR}Lightning.Pub${RESET_COLOR}..."
sleep 10
fi
# Always attempt to start or restart Lightning.Pub
if systemctl --user is-active --quiet lightning_pub; then