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>
[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