mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-30 14:06:08 +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:
@@ -125,7 +125,7 @@ if [ "$1" = "prestart" ]; then
|
|||||||
|
|
||||||
# CHECK THAT ELECTRS INDEX IS BUILD (WAITLOOP)
|
# CHECK THAT ELECTRS INDEX IS BUILD (WAITLOOP)
|
||||||
# electrs listening in port 50001 means index is build
|
# electrs listening in port 50001 means index is build
|
||||||
isElectrumReady=$(netstat | grep -c "50001")
|
isElectrumReady=$(netstat -n | grep -c "50001")
|
||||||
if [ "${isElectrumReady}" == "0" ]; then
|
if [ "${isElectrumReady}" == "0" ]; then
|
||||||
echo "# electrs is ON but not ready .. might still building index - kick systemd service into fail/wait/restart"
|
echo "# electrs is ON but not ready .. might still building index - kick systemd service into fail/wait/restart"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user