forked from axiom-team/astroport
Add sleep before swarm peers check
This commit is contained in:
parent
b5e04430e4
commit
3acaaab735
|
@ -72,6 +72,8 @@ ipfs bootstrap add /ip6/fd42:feed:feed:feed::1/tcp/4001/p2p/Qmb6Gyy3KFWTxWh4v6fB
|
|||
|
||||
sudo systemctl restart ipfs || err+="Restart IPFS daemon"
|
||||
|
||||
sleep 10
|
||||
|
||||
[[ ! $(ipfs swarm peers) ]] && echo "${c_red}No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues" && exit 1
|
||||
|
||||
} # this ensures the entire script is downloaded #
|
||||
|
|
Loading…
Reference in New Issue