Add source-controlled Puppet/Hiera contracts for edge2 Divoom-as-DM-device without replacing the live flowercore-divoom systemd deployment. Add Divoom TV Pi HDMI systemd/Puppet deployment artifacts, LF shell-script guardrails, and focused lint coverage for the additive non-K8s deploy shape. Co-Authored-By: Codex <codex@openai.com>
41 lines
1.2 KiB
Desktop File
41 lines
1.2 KiB
Desktop File
[Unit]
|
|
Description=FlowerCore Divoom TV HDMI Renderer (Avalonia fullscreen)
|
|
Documentation=https://github.com/astoltz/FlowerCore.Notes/blob/master/docs/standards/divoom-tv-hdmi-multitarget-render-substrate.md
|
|
Wants=network-online.target
|
|
After=network-online.target systemd-user-sessions.service
|
|
ConditionPathExists=/opt/flowercore/divoom-tv/FlowerCore.Divoom.Tv
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=fc-divoom-tv
|
|
Group=fc-divoom-tv
|
|
WorkingDirectory=/opt/flowercore/divoom-tv
|
|
EnvironmentFile=-/etc/flowercore/divoom-tv.env
|
|
Environment=DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
Environment=XDG_RUNTIME_DIR=/run/fc-divoom-tv
|
|
RuntimeDirectory=fc-divoom-tv
|
|
RuntimeDirectoryMode=0700
|
|
ExecStartPre=/usr/local/bin/flowercore-divoom-tv-prelaunch.sh
|
|
ExecStart=/usr/local/bin/flowercore-divoom-tv-launch.sh
|
|
Restart=always
|
|
RestartSec=10s
|
|
StartLimitBurst=5
|
|
StartLimitIntervalSec=300s
|
|
MemoryMax=2G
|
|
MemoryHigh=1500M
|
|
PrivateTmp=true
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/lib/fc-divoom-tv /var/log/fc-divoom-tv /run/fc-divoom-tv
|
|
TTYPath=/dev/tty1
|
|
StandardInput=tty
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
TTYVTDisallocate=yes
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|