Improve system controller and homescreen startup 42/10742/1 accepted/tizen/20131028.165510 submit/tizen/20131016.142418
authorMikko Ylinen <mikko.ylinen@intel.com>
Thu, 10 Oct 2013 11:11:52 +0000 (14:11 +0300)
committerMikko Ylinen <mikko.ylinen@intel.com>
Thu, 10 Oct 2013 11:11:52 +0000 (14:11 +0300)
AUL launch_app takes some time before it is able to launch IcoSysconDaemon.
launch_app is not mandatory for IcoSysconDaemon so start it directly from
its install path.

HomeScreen depends on weston and its plugins. Therefore, tell systemd
to start ico-system-controller.service After weston.service.

Change-Id: I96a2964aed4375edf7d2aaf2ce4d8b1dc7b2c3ea
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
data/lib/systemd/user/ico-system-controller.service

index 0e08d98..830b21f 100644 (file)
@@ -1,12 +1,11 @@
 [Unit]
 Description=ico system controller
 Requires=weston.service
-Wants=ico-device-input-controller.service
-Wants=ico-vic-carsim.service
-Before=weston.service
+After=weston.service
+Wants=ico-device-input-controller.service ico-vic-carsim.service
 
 [Service]
 Environment=TIZEN_PLATFORMLOGGING_MODE=1
 Environment=TIZEN_DLOG_LEVEL=1
 Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
-ExecStart=/usr/bin/launch_app org.tizen.ico.system-controller
+ExecStart=/usr/apps/org.tizen.ico.system-controller/bin/IcoSysconDaemon