add bundle:sdm630_mqtt
This commit is contained in:
parent
f0ebed5dba
commit
01a8d7a6db
4 changed files with 149 additions and 0 deletions
14
bundles/sdm630_mqtt/files/sdm630_to_mqtt.service
Normal file
14
bundles/sdm630_mqtt/files/sdm630_to_mqtt.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue