chore: add Makefile and Debian packaging

This commit is contained in:
2026-05-24 18:53:11 +03:00
parent 2c49e7e427
commit 4a4aaee884
7 changed files with 183 additions and 0 deletions
@@ -0,0 +1,26 @@
[Unit]
Description=EZCOO HDMI Matrix MQTT bridge
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/ezcoo-usb-control --config /etc/ezcoo-usb-control/config.yaml
Restart=on-failure
RestartSec=5
User=ezcoo
SupplementaryGroups=dialout
# Allow reading an optional environment file for secrets.
# EnvironmentFile=-/etc/ezcoo-usb-control/env
# Hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
DeviceAllow=char-ttyUSB rw
DeviceAllow=char-ttyACM rw
[Install]
WantedBy=multi-user.target