summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2012-08-09 16:34:11 +0100
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2012-08-10 10:12:38 +0100
commit0d034402c5c97c82a164996f9cd4e9c80cf9fde1 (patch)
tree5d48602433b05fb842e815484fdd1d51a7067937
parent129fb0a94d3134e211b3441f5ddc0c682481534a (diff)
downloadnode-startup-controller-0d034402c5c97c82a164996f9cd4e9c80cf9fde1.tar.gz
Expand description for TargetStartupMonitor
-rw-r--r--node-startup-controller/target-startup-monitor.c24
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.
*/