mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 11:37:19 +02:00
make error more clear
This commit is contained in:
@@ -35,7 +35,7 @@ if [ ${bitcoinActive} -eq 0 ] || [ ${#bitcoinErrorFull} -gt 0 ] || [ "${1}" == "
|
|||||||
echo
|
echo
|
||||||
if [ ${startcountBlockchain} -gt 1 ]; then
|
if [ ${startcountBlockchain} -gt 1 ]; then
|
||||||
echo "${startcountBlockchain} RESTARTS DETECTED - ${network}d might be in a error loop"
|
echo "${startcountBlockchain} RESTARTS DETECTED - ${network}d might be in a error loop"
|
||||||
cat /home/admin/systemd.blockchain.log | grep "ERROR" | tail -n -2
|
cat /home/admin/systemd.blockchain.log | grep "ERROR" | tail -n -1
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
if [ ${#bitcoinErrorFull} -gt 0 ]; then
|
if [ ${#bitcoinErrorFull} -gt 0 ]; then
|
||||||
@@ -81,7 +81,7 @@ elif [ ${lndActive} -eq 0 ] || [ ${#lndErrorFull} -gt 0 ] || [ "${1}" == "lightn
|
|||||||
echo
|
echo
|
||||||
if [ ${startcountLightning} -gt 1 ]; then
|
if [ ${startcountLightning} -gt 1 ]; then
|
||||||
echo "${startcountLightning} RESTARTS DETECTED - ${network}d might be in a error loop"
|
echo "${startcountLightning} RESTARTS DETECTED - ${network}d might be in a error loop"
|
||||||
cat /home/admin/systemd.lightning.log | grep "ERROR" | tail -n -2
|
cat /home/admin/systemd.lightning.log | grep "ERROR" | tail -n -1
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
if [ ${#lndErrorFull} -gt 0 ]; then
|
if [ ${#lndErrorFull} -gt 0 ]; then
|
||||||
|
Reference in New Issue
Block a user