summaryrefslogtreecommitdiffstats
path: root/meta-agl-demo-control-panel/recipes-demo/agl-demo-control-panel/files/agl-demo-control-panel.service
blob: 5780bdfa435108b9fa1af4a5f134765aa22c5286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Requires=weston.service
After=weston.service
Before=graphical.target

[Service]
Type=simple
User=agl-driver
Group=agl-driver
Environment=XDG_RUNTIME_DIR=/run/user/1001/
Environment=WAYLAND_DISPLAY=wayland-1
ExecStart=/usr/bin/python3 /usr/libexec/agl-demo-control-panel/main.py
Restart=on-failure

[Install]
WantedBy=graphical.target