Files
agnos-builder/userspace/files/agnos-tests.service
T
Maxime Desroches 9d57291038 Revert "Remove Qt + weston (#502)"
This reverts commit 3762ea1e3f.
2025-10-28 20:46:07 -07:00

18 lines
457 B
Desktop File

[Unit]
#After=weston-ready.service
[Service]
#Type=simple
#User=comma
Type=oneshot
Restart=no
# exit if connected to 5V
ExecStartPre=/bin/bash -c "if [ $(cat /sys/class/hwmon/hwmon1/in1_input) -le 6500 ]; then echo 'Exiting, connected to 5V'; exit 1; fi"
#ExecStart=/bin/bash -c "source /etc/profile && /usr/comma/tests/test_weston.py"
ExecStart=/bin/bash -c "source /etc/profile && /usr/comma/tests/test_sounds.py"
[Install]
WantedBy=multi-user.target