bundlewrap/bundles/sdm630_mqtt/files/sdm630_to_mqtt.service

15 lines
299 B
SYSTEMD
Raw Permalink Normal View History

2024-08-10 17:10:20 +00:00
[Unit]
Description=SDM630-to-MQTT bridge
After=network.target
[Service]
User=sdm630_mqtt
Group=sdm630_mqtt
ExecStart=/opt/sdm630_mqtt/venv/bin/python sdm630_mqtt.py /opt/sdm630_mqtt/config.toml
WorkingDirectory=/opt/sdm630_mqtt/src
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target