diff --git a/charts/erigon/values.yaml b/charts/erigon/values.yaml index 40b9f5df..83448c9b 100644 --- a/charts/erigon/values.yaml +++ b/charts/erigon/values.yaml @@ -73,7 +73,7 @@ defaultCommandRPCDaemonTemplate: | - sh - -ac - > - while ! nc -z 127.0.0.1 9090; do sleep 1; done; + until timeout 1 bash -c ">/dev/tcp/127.0.0.1/9090" 2>/dev/null; do echo "Waiting for erigon..."; sleep 1; done; exec rpcdaemon --datadir=/data --private.api.addr=127.0.0.1:9090