feat(qnap-lcd): Proxmox-correct front-panel LCD menu for esh-nas-pve; albok redeploy note
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user