Improve CLI and daemon lifecycle usability
This commit is contained in:
parent
afec7063db
commit
f61cb44dad
14 changed files with 1028 additions and 204 deletions
|
|
@ -6,8 +6,15 @@ Accepted.
|
|||
|
||||
## Decision
|
||||
|
||||
Geth provides `geth daemon service ...` commands to install, uninstall, start,
|
||||
stop, inspect, and print daemon service definitions.
|
||||
Geth provides direct `geth daemon install|start|stop|status|uninstall` commands
|
||||
for the common lifecycle. `daemon install` initializes the selected geth home,
|
||||
installs and enables the user service, and starts it immediately. The existing
|
||||
`geth daemon service ...` commands remain available for compatibility, explicit
|
||||
manager selection, definition previews, and install-without-start behavior.
|
||||
Status probes return a normalized state. An inactive or missing service is a
|
||||
successful inspection result, while a service-manager access problem is
|
||||
reported as `unknown` with the manager's diagnostic rather than mislabeled as a
|
||||
stopped daemon.
|
||||
|
||||
The service is always installed as a user service:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue