dune-weaver-touch.service 734 B

1234567891011121314151617181920212223242526
  1. [Unit]
  2. Description=Dune Weaver Touch Interface
  3. After=multi-user.target network-online.target
  4. Wants=network-online.target
  5. # Wait for DRM/KMS devices to be ready
  6. After=systemd-udev-settle.service
  7. Wants=systemd-udev-settle.service
  8. [Service]
  9. Type=simple
  10. User=pi
  11. Group=pi
  12. WorkingDirectory=/home/pi/dune-weaver-touch
  13. Environment=QT_QPA_PLATFORM=eglfs
  14. Environment=QT_QPA_EGLFS_ALWAYS_SET_MODE=1
  15. Environment=QT_QPA_EGLFS_HIDECURSOR=1
  16. Environment=QT_QPA_EGLFS_INTEGRATION=eglfs_kms
  17. Environment=QT_QPA_EGLFS_KMS_ATOMIC=1
  18. ExecStart=/home/pi/dune-weaver-touch/venv/bin/python /home/pi/dune-weaver-touch/main.py
  19. Restart=always
  20. RestartSec=10
  21. StartLimitInterval=200
  22. StartLimitBurst=5
  23. [Install]
  24. WantedBy=multi-user.target