[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