From dd1399d37f3f1f8b4513b5a39deffeb878e35abb Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Sat, 20 Jan 2024 15:54:25 -0500 Subject: [PATCH] Update the paths for copying the archive. DNS Link is a wonderful thing; it simplifies a bunch of things. --- ipfs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ipfs.md b/ipfs.md index bb2558c..d21d2d4 100644 --- a/ipfs.md +++ b/ipfs.md @@ -58,14 +58,14 @@ In brief, these flags allow for migrating the daemon automatically when you inst Now that yu have the IPFS node running, you can now get the archive and pin a copy locally by way of its IPNS key. ```bash -ipfs pin add /ipns/k51qzi5uqu5dg7ndb48x1v9hzp98vg6wncrbhps16a8yn3eh4nqis7v384jh20 +ipfs pin add games-archive.stormux.org ``` To ensure you have the latest archive, run the pin on a periodic interval. Additionally, if your node is slow in updating, as mine was, you can resolve the resolve the ipns entry by hand and pipe that into pin add. ```bash -ipfs name resolve --nocache /ipns/k51qzi5uqu5dg7ndb48x1v9hzp98vg6wncrbhps16a8yn3eh4nqis7v384jh20 | ipfs pin add +ipfs name resolve --nocache games-archive.stormux.org | ipfs pin add ``` @@ -74,5 +74,5 @@ To automate this process, you can add it to your crontab: ```bash crontab -e # ipns update for audiogame-manager once a week -0 12 * * 1 ipfs name resolve --nocache /ipns/k51qzi5uqu5dg7ndb48x1v9hzp98vg6wncrbhps16a8yn3eh4nqis7v384jh20 | ipfs pin add +0 12 * * 1 ipfs name resolve --nocache games-archive.stormux.org | ipfs pin add ```