Browse Source

up limit to 4min before btc error scan

master
Christian Rotzoll 6 years ago
parent
commit
aa16ba00d5
  1. 4
      home.admin/config.scripts/blitz.statusscan.sh

4
home.admin/config.scripts/blitz.statusscan.sh

@ -92,8 +92,8 @@ else
#### GENERIC ERROR FIND
# if still no error identified - search logs for genereic error (after 2min uptime)
if [ ${#bitcoinErrorShort} -eq 0 ] && [ ${uptime} -gt 120 ]; then
# if still no error identified - search logs for genereic error (after 4min uptime)
if [ ${#bitcoinErrorShort} -eq 0 ] && [ ${uptime} -gt 240 ]; then
bitcoinErrorFull=$(sudo tail -n 100 /mnt/hdd/${network}${pathAdd}/debug.log | grep -c "Error:" | tail -1 | tr -d "'")
if [ ${#bitcoinErrorFull} -gt 0 ]; then
bitcoinErrorShort="Error found in Logs"

Loading…
Cancel
Save