6
0
Fork 0
This repository has been archived on 2022-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
cdist-recycledcloud/type/__prometheus_yoctotemp_expo.../files/prometheus-yoctotemp-export...

13 lines
379 B
Desktop File

[Unit]
Description=Prometheus YoctoTemperature exporter
After=network.target
[Service]
Type=simple
# FIXME: ugly workaround with potential side effects.
ExecStartPre=/usr/bin/chown -R root:dialout /dev/bus/usb/003
ExecStart=/opt/prometheus-yoctotemp-exporter/venv/bin/python /opt/prometheus-yoctotemp-exporter/prometheus-yoctotemp-exporter
[Install]
WantedBy=multi-user.target