ipfs config changes : https://github.com/ipfs/kubo/blob/master/docs/config.md
This commit is contained in:
parent
7b34d77c38
commit
bf22b7968e
|
@ -12,7 +12,8 @@ sudo systemctl stop ipfs
|
|||
### IMPORTANT !!!!!!! IMPORTANT !!!!!!
|
||||
###########################################
|
||||
# DHT PUBSUB mode
|
||||
ipfs config Pubsub.Router gossipsub
|
||||
# ipfs config Pubsub.Router gossipsub ## DEPRECATED
|
||||
ipfs config --json Ipns.UsePubsub true
|
||||
|
||||
# MAXSTORAGE = 1/2 full
|
||||
availableDiskSize=$(df -P ~/ | awk 'NR>1{sum+=$4}END{print sum}')
|
||||
|
|
|
@ -78,7 +78,7 @@ User=_USER_
|
|||
RestartSec=1
|
||||
Restart=always
|
||||
Environment=IPFS_FD_MAX=8192
|
||||
ExecStart=/usr/local/bin/ipfs daemon --enable-pubsub-experiment --enable-namesys-pubsub
|
||||
ExecStart=/usr/local/bin/ipfs daemon --migrate
|
||||
CPUAccounting=true
|
||||
CPUQuota=60%
|
||||
|
||||
|
|
Loading…
Reference in New Issue