This commit is contained in:
jimmy 2021-05-29 03:13:16 +00:00
parent bad182b916
commit cd8d40ff0d
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=MQTT Influx ingest
[Service]
WorkingDirectory=/opt/mqtt-influx
Restart=on-failure
ExecStart=/usr/local/bin/pipenv run python /opt/mqtt-influx/main.py
[Install]
WantedBy=default.target