M8 networkmanager: the manifest declares the sign-in parts

The manifest declares the watcher as a process run as the account with uplink_health
as its health, the folder the two parts share (the account's, 0700), the running event
the bundle consumes, the three verbs it invokes and its five tools.

Builds: design 08 sign-in-page §11, §12, §13, §27
This commit is contained in:
jochen
2026-11-24 21:26:14 +01:00
parent 1dec6eb02c
commit dc27af2227
2 changed files with 103 additions and 0 deletions
+41
View File
@@ -21,6 +21,21 @@
"scope": "node"
}
],
"consumes": [
"node-engine.running"
],
"invokes": [
"seat:mesh-module-assigner.assignments",
"seat:node-resolver.uplink-names",
"seat:node-resolver.routes"
],
"tools": [
"uplink_sign_in",
"uplink_names_again",
"uplink_rating_again",
"uplink_publish_again",
"uplink_health"
],
"build": {
"artifacts": [
{
@@ -67,6 +82,32 @@
"reload-on": [
"config"
]
},
{
"id": "sign-in-state",
"type": "directory",
"path": "${machine:account-home}/.local/state/mesh/networkmanager",
"owner": "${machine:account}",
"mode": "0700"
},
{
"id": "sign-in",
"type": "process",
"name": "networkmanager-sign-in",
"artifact": "tools",
"run": [
"./uplink-tools",
"watch"
],
"user": "${machine:account}",
"health": {
"kind": "tool",
"tool": "uplink_health",
"interval": "60s",
"timeout": "20s",
"looks": 2,
"grace": "60s"
}
}
]
}