hlfw.ca

registry

Download patch

ref: 0288d7e4498df6be54e271be88d7a19fe89370e8
parent: 3a2085e1d30408ea960d74076c5aba6128c49339
author: halfwit <michaelmisch1985@gmail.com>
date: Wed Oct 11 15:00:49 PDT 2023

Update README.md

--- a/README.md
+++ b/README.md
@@ -24,9 +24,12 @@
 aux/svcfs -m /mnt/services /adm/services
 aux/listen1 -t tcp!*!registry /bin/exportfs -r /mnt/services
 ```
+## Pieces
 
-## aux/svcfs
+Below are the main parts. Basic setup only requires an ndb/registry instance and ndb/regquery
 
+### aux/svcfs
+
 Usage: `aux/svcfs [-r] [-m mtpt] servicesfile`
 
 svcfs will periodically check a service is still alive with a gradual backoff, capping off at hourly.
@@ -41,7 +44,7 @@
 
 Services may be read by anyone, but can only be modified by the owner. Request must come from users in the same authdom.
 
-## ndb/registry 
+### ndb/registry 
 
 Usage: `ndb/registry [-r] [-s srvname]`
 - `-r` do not parse /cfg/$sysname/registry
@@ -83,7 +86,7 @@
 
 The point of which is more for bookkeeping, populating menus in an automated way, etc
 
-## ndb/regquery 
+### ndb/regquery 
 Usage: `nbd/regquery [-m mtpt] [-a] [query]`
 
 Connects to `mtpt`, by default at `/mnt/registry` and issues a search for the given query. If no value is passed in, all entries will be returned.
@@ -92,5 +95,10 @@
 
 Searches are for partial matches, searching for `"speaker"` will return `"outside-speaker-front"` and `"living-room-speaker"`, for example.
 
-## ndb/regdebug
+### ndb/regdebug
 Like regquery, but issues queries directly to the given svcfs
+
+## Future
+- The code!
+- Libraries for services to publish services
+-