diff options
-rw-r--r-- | node-startup-controller/target-startup-monitor.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/node-startup-controller/target-startup-monitor.c b/node-startup-controller/target-startup-monitor.c index 1b5db78..dd93873 100644 --- a/node-startup-controller/target-startup-monitor.c +++ b/node-startup-controller/target-startup-monitor.c @@ -32,20 +32,24 @@ * * The #TargetStartupMonitor class is responsible for setting the state of the * Node State Manager using states from #NSMNodeState. It sets the node state - * under the following * circumstances: + * under the following circumstances: * - * The Node Startup Controller is starting up. In the GENIVI lifecycle subsystem, - * this means that all mandatory applications have been started - set the state to - * %NSM_NODE_STATE_BASE_RUNNING. + * 1. The Node Startup Controller is starting up. In the GENIVI lifecycle subsystem, + * this means that all mandatory applications have been started - set the state to + * %NSM_NODE_STATE_BASE_RUNNING. * - * The systemd unit %focussed.target has started - set the state to - * %NSM_NODE_STATE_LUC_RUNNING. + * 2. The #TargetStartupMonitor receives a "JobRemoved" signal from "focussed.target", + * "unfocussed.target" or "lazy.target" indicating that this unit has changed its + * active state to "active" then: + * + * - If the systemd unit "focussed.target" has started - set the state to + * %NSM_NODE_STATE_LUC_RUNNING. * - * The systemd unit %unfocussed.target has started - set the state to - * %NSM_NODE_STATE_FULLY_RUNNING. + * - If the systemd unit "unfocussed.target" has started - set the state to + * %NSM_NODE_STATE_FULLY_RUNNING. * - * The systemd unit %lazy.target has started - set the state to - * %NSM_NODE_STATE_FULLY_OPERATIONAL. + * - If the systemd unit "lazy.target" has started - set the state to + * %NSM_NODE_STATE_FULLY_OPERATIONAL. */ |