From e6dee62899e524c48519993101d6e8368d860a11 Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Fri, 19 Jan 2024 16:11:55 -0500 Subject: [PATCH] Add new command flags. You'll need to edit your daemon's startup if necessary for these to take effect. --- ipfs.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ipfs.md b/ipfs.md index cfb3c08..bb2558c 100644 --- a/ipfs.md +++ b/ipfs.md @@ -45,12 +45,13 @@ In order for your node to be able to talk to other nodes on the IPFS network, yo ### Start or Create a Service -For some distributions, a user service is already shipped, so starting the daemon is pretty straightforward. Consult the specifics of your init system and be sure it is running now and enabled on boot. If a service is not available, be sure that you run the following as your user: +For some distributions, a user service is already shipped, so starting the daemon is pretty straightforward. Consult the specifics of your init system and be sure it is running now and enabled on boot. If a service is not available, be sure that you run the following as your user, editing the user services where necessary: ```bash -ipfs daemon +ipfs daemon --enable-gc --migrate --enable-namesys-pubsub ``` +In brief, these flags allow for migrating the daemon automatically when you install a new version, letting the garbage collector run at periodic intervals, In bief, these extra flags allow for subscribing to published events about names, allowing migrations on daemon startup, and allows for the newer pubsub system. ### Sync the Archive