networkmanager: the watcher's health is its unit's state
The sign-in process is judged by its unit being active, on the machine without the bus, and NetworkManager's service keeps no state and no health again. The watcher exits non-zero when it cannot subscribe once the system bus came back, so its unit shows failing; uplink_health stays a tool that reads and no longer gives the names again. Builds: design 08 sign-in-page §11, §13, §14, §23, §24, §25, §27; lead answer C-2c (hq 6752a5cf)
This commit is contained in:
@@ -81,10 +81,7 @@
|
||||
"unit": "NetworkManager.service",
|
||||
"reload-on": [
|
||||
"config"
|
||||
],
|
||||
"health": {
|
||||
"kind": "unit"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "sign-in-state",
|
||||
@@ -105,12 +102,7 @@
|
||||
],
|
||||
"user": "${machine:account}",
|
||||
"health": {
|
||||
"kind": "tool",
|
||||
"tool": "uplink_health",
|
||||
"interval": "60s",
|
||||
"timeout": "20s",
|
||||
"looks": 2,
|
||||
"grace": "60s"
|
||||
"kind": "unit"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user