services: Add SMD630 to MQTT glue script

This commit is contained in:
polyfloyd 2023-12-03 14:12:40 +01:00
parent 7e72905165
commit 24980f5e7e
7 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Managed by Ansible
[Unit]
Description=SMD630 to MQTT Probe
After=network.target
[Service]
Type=simple
ExecStart=/bin/bash /var/lib/power-mqtt.sh
Restart=on-failure
RestartSec=10s
DynamicUser=true
[Install]
WantedBy=multi-user.target