Kiosk process owns its display lifecycle: waits for X11, keeps the fullscreen black canvas below video, stops deterministically on signal. Supervisor starts it before video, restarts only on process death, and shuts the whole process group down; X11 downtime never restarts the supervisor. Per-target opener/template abstractions for future MIPI.
15 lines
318 B
Desktop File
15 lines
318 B
Desktop File
[Unit]
|
|
Description=Ground Station RC, kiosk display and video supervisor
|
|
Wants=graphical.target
|
|
After=graphical.target display-manager.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
ExecStart=/usr/local/bin/groundstation -config /etc/groundstation/config.yml
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|