Add new command flags.

You'll need to edit your daemon's startup if necessary for these to
take effect.
Hunter Jozwiak 2024-01-19 16:11:55 -05:00
parent d96f60ab7d
commit e6dee62899

@ -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