[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