This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while [ `docker exec validator miner info in_consensus` = "true" ] | |
do | |
echo -n "`date +"%Y-%m-%d--%T-%Z"` " >> /var/log/consensus-wait.log | |
echo "Waiting until out of Consesus" >> /var/log/consensus-wait.log | |
sleep 120 | |
done | |
echo -n `date +"%Y-%m-%d--%T-%Z"` >> /var/log/consensus-wait.log | |
echo -n " `docker exec validator miner info in_consensus` " >> /var/log/consensus-wait.log |