Reworking layer/surface management
[staging/HomeScreen.git] / HomeScreen / conf / HomeScreen.service
1 [Unit]
2 Description=AGL reference HomeScreen
3 Requires=dbus.service afm-user-daemon.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
4 After=dbus.service afm-user-daemon.service InputEventManager.service HomeScreenAppFrameworkBinderAGL.service
5 ConditionKernelCommandLine=!agl.nogfx
6
7 [Service]
8 User=root
9 Type=dbus
10 BusName=org.agl.homescreen
11 ExecStartPre=/bin/systemctl --user is-active WindowManager
12 ExecStart=/usr/AGL/homescreen/HomeScreen
13 # 4194304(= 1 << 22) is special surface id for HomeScreen
14 Environment=QT_IVI_SURFACE_ID=4194304 QT_WAYLAND_SHELL_INTEGRATION=ivi-shell LD_PRELOAD=/usr/lib/libEGL.so.1
15 Restart=on-failure
16 RestartSec=1
17
18 [Install]
19 WantedBy=default.target