Initial Phoenix analyzer

This commit is contained in:
Mikei386
2026-06-02 20:56:19 +02:00
commit e499bac928
62 changed files with 28893 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
[Unit]
Description=Analyzer Kiosk (Raspberry Pi OS)
After=network-online.target
After=analyzer-web.service
Wants=analyzer-web.service
[Service]
# Run as root to ensure we can control the VT and X server.
User=root
Group=root
Environment=HOME=/root
WorkingDirectory=/home/analyzer/Phoenix
# Allocate a dedicated virtual terminal for the X server. Without this,
# xinit will fail when launched from an SSH session because it cannot
# open /dev/tty0. tty1 is reserved for this service.
TTYPath=/dev/tty1
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
StandardInput=tty
StandardOutput=tty
StandardError=tty
# Start a minimal X server and run our kiosk session script. The web UI
# is served by analyzer-web.service; this unit only brings up X,
# Chromium and Phoenix. The `vt1` argument ensures the X server uses the
# dedicated virtual terminal configured above.
ExecStart=/bin/bash /home/analyzer/Phoenix/kiosk-start.sh
# Automatically restart the kiosk if it crashes or exits.
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target