This commit is contained in:
parent
bad182b916
commit
cd8d40ff0d
|
@ -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
|
Loading…
Reference in New Issue