agl-demo-control-panel: add recipe and image
[AGL/meta-agl-demo.git] / recipes-demo / agl-demo-control-panel / files / agl-demo-control-panel.service
1 [Unit]
2 Requires=weston.service
3 After=weston.service
4 Before=graphical.target
5
6 [Service]
7 Type=simple
8 User=agl-driver
9 Group=agl-driver
10 Environment=XDG_RUNTIME_DIR=/run/user/1001/
11 Environment=WAYLAND_DISPLAY=wayland-1
12 ExecStart=/usr/bin/python3 /usr/libexec/agl-demo-control-panel/main.py
13 Restart=on-failure
14
15 [Install]
16 WantedBy=graphical.target