This commit is contained in:
qo-op 2021-06-04 05:13:24 +02:00
parent e2da6ddc1e
commit 624f59fb3c
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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