11 lines
205 B
SYSTEMD
11 lines
205 B
SYSTEMD
|
[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
|