Paper Mario mod hosting site - AT Protocol appview starhaven.dev
appview

store dev PDS data outside /tmp master

macOS periodically deletes files from /tmp that haven't been accessed in ~3 days. The @atproto/dev-env PDS stores actor signing keys as plain files, so after a few days without writes the key disappears and every putRecord fails with InternalServerError. Setting TMPDIR to ~/.local/share/starhaven-dev-pds before starting the PDS process causes os.tmpdir() to resolve there, putting all PDS data in a location macOS will not clean up.


Author Alex Bates Date Commit 01ce85f5 Parent 7d9a7d68 Change ID tnxusnww
+4 -2
1 changed file