Initial commit: Electron + React touchscreen kiosk dashboard for Home Assistant

This commit is contained in:
root
2026-02-25 23:01:20 -06:00
commit 97a7912eae
84 changed files with 12059 additions and 0 deletions

39
imperial-command-center.service Executable file
View File

@@ -0,0 +1,39 @@
[Unit]
Description=Imperial Command Center - Home Assistant Kiosk Dashboard
Documentation=https://github.com/your-repo/imperial-command-center
After=graphical.target network-online.target
Wants=network-online.target
[Service]
Type=simple
User=kiosk
Group=kiosk
# Environment
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/kiosk/.Xauthority
Environment=NODE_ENV=production
# Working directory (contains .env file)
WorkingDirectory=/opt/imperial-command-center
# Start command
ExecStart=/opt/imperial-command-center/imperial-command-center.AppImage --no-sandbox
# Restart policy
Restart=always
RestartSec=5
StartLimitInterval=60
StartLimitBurst=3
# Security settings
NoNewPrivileges=false
ProtectSystem=false
ProtectHome=false
# Resource limits
MemoryMax=2G
CPUQuota=80%
[Install]
WantedBy=graphical.target