This commit is contained in:
parent
e2da6ddc1e
commit
624f59fb3c
|
@ -47,7 +47,7 @@ do
|
|||
|
||||
done
|
||||
|
||||
for peerline in $(cat /tmp/ipfstryme.$liking_me | sort | uniq);
|
||||
for peerline in $(cat /tmp/ipfstryme.* | sort | uniq);
|
||||
do
|
||||
echo "======================================================"
|
||||
# GET $ipfsnodeid FROM $peerline
|
||||
|
|
|
@ -43,6 +43,8 @@ fi
|
|||
|
||||
# BRING TO OASIS /etc/nginx/sites-available/taurus.copylaradio.com.conf
|
||||
if [[ "$IPFSNODEID" == "12D3KooWBYme2BsNUrtx4mEdNX6Yioa9AV7opWzQp6nrPs6ZKabN" ]]; then
|
||||
# CHECK CONNECTIVITY ipfs --timeout=5s ping /p2p/12D3KooWRstYPJSakosgnvvGpxDdUJd2xAncJB7fbBwLBaTAEJxp
|
||||
|
||||
[[ ! $(ipfs p2p ls | grep '/x/https-taurus') ]] && ipfs p2p forward /x/https-taurus /ip4/127.0.0.1/tcp/2443 /p2p/12D3KooWRstYPJSakosgnvvGpxDdUJd2xAncJB7fbBwLBaTAEJxp
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue