From 5128e8646a6a7cc046d2f7b8bdf7083836130ea2 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Tue, 11 Jun 2019 01:17:22 +0300 Subject: [PATCH] ipfs.service: use dht routing instead of dhtclient routing --- etc/systemd/system/ipfs.service | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/systemd/system/ipfs.service b/etc/systemd/system/ipfs.service index 9ebeb495..1280a3d8 100644 --- a/etc/systemd/system/ipfs.service +++ b/etc/systemd/system/ipfs.service @@ -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