forked from axiom-team/astrXbian
ipfs daemon
This commit is contained in:
parent
ff382855c2
commit
c5f476f607
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue