summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2012-09-25 13:09:19 +0100
committerJonathan Maw <jonathan.maw@codethink.co.uk>2012-09-25 14:30:58 +0100
commit48350c74e890fe4f66733369474ae9a698b4978d (patch)
tree01bcfefe1fcfe99e637a25b1b35c210a07ce2878
parent958e5ab2bc93ac0d885ca75f4f33988cbdd3e758 (diff)
downloadnode-startup-controller-48350c74e890fe4f66733369474ae9a698b4978d.tar.gz
Make systemd respond to "READY" notifications from the NSC (GT-2212)
The type of the systemd service is now "notify", because systemd ignores the "READY=1" notification for all other service types.
-rw-r--r--NEWS4
-rw-r--r--node-startup-controller/node-startup-controller.service.in2
-rw-r--r--nsm-dummy/nsm-dummy.service.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 93905be..d8a45c3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+x.y.z
+=====
+* Make systemd respond to "READY" notifications from the NSC (GT-2212)
+
1.0.0
=====
* Final release for GENIVI Excalibur
diff --git a/node-startup-controller/node-startup-controller.service.in b/node-startup-controller/node-startup-controller.service.in
index d70b259..7f747a2 100644
--- a/node-startup-controller/node-startup-controller.service.in
+++ b/node-startup-controller/node-startup-controller.service.in
@@ -1,5 +1,5 @@
[Service]
-Type = dbus
+Type = notify
BusName = org.genivi.NodeStartupController1
ExecStart = @libdir@/node-startup-controller-@NODE_STARTUP_CONTROLLER_VERSION_API@/node-startup-controller
WatchdogSec = 5
diff --git a/nsm-dummy/nsm-dummy.service.in b/nsm-dummy/nsm-dummy.service.in
index e454ba0..0097b98 100644
--- a/nsm-dummy/nsm-dummy.service.in
+++ b/nsm-dummy/nsm-dummy.service.in
@@ -1,5 +1,5 @@
[Service]
-Type = dbus
+Type = notify
BusName = org.genivi.NodeStateManager
ExecStart = @libdir@/node-startup-controller-@NODE_STARTUP_CONTROLLER_VERSION_API@/nsm-dummy
WatchdogSec = 5