ipfs.service: use dht routing instead of dhtclient routing

This commit is contained in:
Aminda Suomalainen 2019-06-11 01:17:22 +03:00
parent 85bd70f382
commit 5128e8646a
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67
1 changed files with 4 additions and 2 deletions

View File

@ -10,13 +10,15 @@ After=network.target
# providers triggers netscan detection, risking account termination"
[Service]
ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dhtclient --enable-gc --enable-namesys-pubsub
ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dht --enable-gc --enable-namesys-pubsub
# My attempts at explaining flags above + --mount for fuse
# --mount - fuse for /ipfs and /ipns, see
# https://github.com/ipfs/go-ipfs/blob/master/docs/fuse.md as it requires
# some specific config, I am not setting it as default here.
# --routing=dhtclient - not serving requests to the network saving bandwidth
# --routing=dht - server requests to the network possibly using more
# bandwidth but also making content more findable (as opposed to
# dhtclient, not serving requests to the network saving bandwidth)
# --enable-gc - automatic cleaning of unpinned files per rules in ipfs
# config, I think by default two hours or when the repo gets bigger than
# 10G