mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-01 00:18:10 +02:00
no dns spam by netstat / use netstat -n (#2992)
Co-authored-by: Patrick Scheich <patrick.scheich@syscovery.de>
This commit is contained in:
parent
45d7dc7026
commit
dcbfa57ecb
@ -125,7 +125,7 @@ if [ "$1" = "prestart" ]; then
|
||||
|
||||
# CHECK THAT ELECTRS INDEX IS BUILD (WAITLOOP)
|
||||
# electrs listening in port 50001 means index is build
|
||||
isElectrumReady=$(netstat | grep -c "50001")
|
||||
isElectrumReady=$(netstat -n | grep -c "50001")
|
||||
if [ "${isElectrumReady}" == "0" ]; then
|
||||
echo "# electrs is ON but not ready .. might still building index - kick systemd service into fail/wait/restart"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user