diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/service.rst | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/service.rst b/doc/service.rst index 194b9c9..7770586 100644 --- a/doc/service.rst +++ b/doc/service.rst @@ -84,7 +84,7 @@ A service has at least the following properties: * ``starting``: the service is in the process of starting up. - * ``started``: the service is presently running. + * ``running``: the service is presently running. * ``stopping``: the service is in the process of stopping. @@ -223,4 +223,24 @@ restarted successfully, you must query the service's status. YANG Model ========== -TBD +Data model +---------- + +The data model for system services has the following structure: + +:: + + +--rw services + +--rw service* [name] + +--rw name string + +--ro description? string + +--rw enabled boolean + +--ro status service-status + +--ro start-time? yang:date-and-time + +Module +------ + +See `adelie-services.yang`_. + +.. _`adelie-services.yang`: ../yang-modules/adelie-services.yang |