update bootstrap & correct systemctl
This commit is contained in:
parent
4435aa559f
commit
724b85dbeb
|
@ -66,7 +66,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
User=_USER_
|
||||
ExecStart=/usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub --routing=dhtclient --enable-gc
|
||||
ExecStart=/usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub --enable-gc
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
@ -104,11 +104,12 @@ ipfs config Datastore.StorageMax $diskSize
|
|||
ipfs config --json Experimental.Libp2pStreamMounting true
|
||||
ipfs config --json Experimental.P2pHttpProxy true
|
||||
|
||||
######### UPDATE BOOTSTRAP LIST ###########
|
||||
######### MAKE DEFAULT BOOTSTRAP TO oasis.astroport.com ###########
|
||||
ipfs bootstrap rm --all
|
||||
ipfs bootstrap add /dnsaddr/oasis.astroport.com/tcp/4001/ipfs/Qmf98yiZja5yrVctp5x4FicUe3Dubzbm5TiUHqJQwwT5Rj
|
||||
ipfs bootstrap add /ip4/51.15.166.54/tcp/4001/p2p/Qmf98yiZja5yrVctp5x4FicUe3Dubzbm5TiUHqJQwwT5Rj
|
||||
ipfs bootstrap add /ip6/fe80::208:a2ff:fe0c:20d8/tcp/4001/p2p/Qmf98yiZja5yrVctp5x4FicUe3Dubzbm5TiUHqJQwwT5Rj
|
||||
ipfs bootstrap add /dnsaddr/oasis.astroport.com/tcp/4001/ipfs/12D3KooWFL6pWAFxqMghbseuZZhmnejLGYk1pS2GvgXKgic5ydwF
|
||||
ipfs bootstrap add /ip4/51.15.166.54/tcp/4001/p2p/12D3KooWFL6pWAFxqMghbseuZZhmnejLGYk1pS2GvgXKgic5ydwF
|
||||
ipfs bootstrap add /ip4/51.15.166.54/udp/4001/quic/p2p/12D3KooWFL6pWAFxqMghbseuZZhmnejLGYk1pS2GvgXKgic5ydwF
|
||||
ipfs bootstrap add /ip6/fe80::208:a2ff:fe0c:20d8/tcp/4001/p2p/12D3KooWFL6pWAFxqMghbseuZZhmnejLGYk1pS2GvgXKgic5ydwF
|
||||
###########################################
|
||||
# TODO: ADD some other bootstrap NODES
|
||||
###########################################
|
||||
|
|
|
@ -108,6 +108,6 @@ echo "jq -r --arg PeerID \"\$PeerID\" '.Identity.PeerID=\$PeerID' ~/.ipfs/config
|
|||
echo "jq -r --arg PrivKEY \"\$PrivKEY\" '.Identity.PrivKey=\$PrivKEY' /tmp/config.tmp > ~/.ipfs/config"
|
||||
echo ""
|
||||
|
||||
cp -f /tmp/init_IPFS_with_cesium_loginKEY.sh ~/.zen/astroport/zen/tools/
|
||||
[[ -f /tmp/init_IPFS_with_cesium_loginKEY.sh ]] && cp -f /tmp/init_IPFS_with_cesium_loginKEY.sh ~/.zen/astroport/zen/tools/
|
||||
rm -f /tmp/secret.dunikey
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue