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:
@@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user