From c5f476f60768ad85f4012c6c7f8250f4e52a0e31 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 13 Dec 2020 20:18:01 +0100 Subject: [PATCH] ipfs daemon --- .install/ipfs_alone.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index addd751..28f82f4 100755 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -63,7 +63,6 @@ if [[ -f ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh ]]; then sudo cp ~/.zen/astrXbian/.install/templates/ipfs/ipfs-initV.sh /etc/init.d/ipfs sudo chmod 755 /etc/init.d/ipfs sudo touch /var/log/ipfs.log && sudo chown xbian /var/log/ipfs.log - sudo service ipfs enable fi @@ -104,10 +103,9 @@ ipfs config Addresses.Gateway "/ip4/127.0.0.1/tcp/8181" sudo service ipfs start || err "Start IPFS daemon" -sleep 3 +sleep 5 echo "Peers: " && ipfs swarm peers && sleep 0.3 -#[[ ! $(ipfs swarm peers) =~ "/ip4/" ]] && err "No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues" } # this ensures the entire script is downloaded # # IPFS CONFIG documentation: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesswarm