feat: systemd unit + env template + installer for MQTT bridge
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=POS Briefing MQTT bridge for Home Assistant
|
||||
Documentation=https://git.sethpc.xyz/Seth/POS-Automation
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=claude
|
||||
# MQTT_PASSWORD lives here, root-owned 0600, never committed.
|
||||
EnvironmentFile=/etc/pos-briefing/pos-briefing.env
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/pos_briefing_mqtt.py
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user