summaryrefslogtreecommitdiffstats
path: root/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2017-05-27 10:45:33 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-05-30 12:31:55 +0000
commit847493e6b994e25c5936a9534e2e225f9e2a42ad (patch)
tree5781f00e703a7f1ecfc5035f1df142426e48dddd /recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service
parente51f84722b85265924d0a74e61598a57bb54fdfe (diff)
openivi-html5: Fix visibility issues
Change the systemd service to user unit, add dependencies, update the bash script for launching openivi-html5 and fix the visibility issue to prevent blank screen at startup. AGL-Bug: SPEC-629 Change-Id: Ibc64088a39a1d7cc2899cb0ff43e8312cde95bc8 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Diffstat (limited to 'recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service')
-rw-r--r--recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service14
1 files changed, 8 insertions, 6 deletions
diff --git a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service
index df14ccb4a..2c8648475 100644
--- a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service
+++ b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.service
@@ -1,14 +1,16 @@
[Unit]
Description=HTML5 runtime for OpenIVI Mobility applications
-Requires=dbus.service
-After=dbus.service lightmediascanner.service rygel.service weston.service
+Requires=afm-user-daemon.service InputEventManager.service
+After=afm-user-daemon.service InputEventManager.service
+ConditionKernelCommandLine=!agl.nogfx
[Service]
-User=root
+Type=dbus
+BusName=org.agl.openivi
ExecStart=/usr/bin/openivi-html5.sh
-Restart=always
-RestartSec=2
+Restart=on-failure
+RestartSec=5
TimeoutStopSec=1
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target