let it come up first

This commit is contained in:
Sebastian
2024-04-06 15:49:53 +02:00
parent da991ae504
commit d455725f74

View File

@@ -7,6 +7,8 @@ echo "running in $BASEPATH"
target_file="op-lisk-sepolia-node-$(date +'%Y-%m-%d-%H-%M-%S').peers" target_file="op-lisk-sepolia-node-$(date +'%Y-%m-%d-%H-%M-%S').peers"
echo "wait 10 seconds for the node to come online"
sleep 10
newest_file=$(ls -1 /backup/op-lisk-sepolia-node-*.peers 2>/dev/null | sort | tail -n 1) newest_file=$(ls -1 /backup/op-lisk-sepolia-node-*.peers 2>/dev/null | sort | tail -n 1)