feat(qnap-lcd): Proxmox-correct front-panel LCD menu for esh-nas-pve; albok redeploy note

This commit is contained in:
vh
2026-10-03 16:14:43 -07:00
parent f696aba10a
commit 453c927ace
4 changed files with 228 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# QNAP front-panel LCD menu on esh-nas-pve. Source: eshpfi services/qnap-lcd/ (playbooks/qnap-lcd.yaml).
# Replaces the repo's unit, which ran a shell wrapper with no restart: when the menu died (it always did on
# Proxmox, see lcd-menu.py), nothing brought it back and the panel froze on "Initializing...".
[Unit]
Description=QNAP front-panel LCD menu
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=/usr/local/bin/qnap_lcd
ExecStartPre=/usr/bin/python3 /usr/local/bin/qnap_lcd/preinit.py
ExecStart=/usr/bin/python3 /usr/local/bin/qnap_lcd/lcd-menu.py
ExecStopPost=/usr/bin/python3 /usr/local/bin/qnap_lcd/shutdown.py
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target