Fixed dbus interfaces names.
Fixed Requires and After.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
[Unit]
Description=AGL reference HomeScreen
-After=WindowManager.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
+Requires=dbus.service afm-user-daemon.service WindowManager.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
+After=dbus.service afm-user-daemon.service WindowManager.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
+ConditionKernelCommandLine=!agl.nogfx
[Service]
+User=root
Type=dbus
BusName=org.agl.homescreen
ExecStart=/usr/AGL/HomeScreen/HomeScreen
-Environment=QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" LD_PRELOAD=/usr/lib/libEGL.so
+Environment=QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION=ivi-shell LD_PRELOAD=/usr/lib/libEGL.so
Restart=on-failure
RestartSec=5
-
[Install]
WantedBy=default.target
[Unit]
Description=AGL App Framework Binder for HomeScreen
+Requires=dbus.service afm-user-daemon.service
+After=afm-user-daemon.service
+ConditionKernelCommandLine=!agl.nogfx
[Service]
-Type=dbus
-BusName=org.agl.appframework
-ExecStart=/usr/AGL/HomeScreenAppFrameworkBinderAGL/HomeScreenAppFrameworkBinderAGL
+User=root
+Type=dbus
+BusName=org.agl.homescreenappframeworkbinder
+ExecStart=/usr/AGL/HomeScreen/HomeScreenAppFrameworkBinderAGL
Restart=on-failure
RestartSec=5
-
[Install]
WantedBy=default.target
[Unit]
Description=AGL Input Event Manager
+Requires=dbus.service
+After=dbus.service
+ConditionKernelCommandLine=!agl.nogfx
[Service]
-Type=dbus
-BusName=org.agl.inputevent
-ExecStart=/usr/AGL/InputEventManager/InputEventManager
+User=root
+Type=dbus
+BusName=org.agl.inputeventmanager
+ExecStart=/usr/AGL/HomeScreen/InputEventManager
Restart=on-failure
RestartSec=5
-
[Install]
WantedBy=default.target
[Unit]
Description=AGL Window Manager
-After=weston.service
+Requires=dbus.service
+ConditionKernelCommandLine=!agl.nogfx
[Service]
-Type=dbus
+User=root
+Type=dbus
BusName=org.agl.windowmanager
-ExecStart=/usr/AGL/WindowManager/WindowManager
+ExecStart=/usr/AGL/HomeScreen/WindowManager
Restart=on-failure
RestartSec=5
-
+StandardOutput=tty
[Install]
WantedBy=default.target