HS110-Grafana/influxdbexporter.service

14 lines
239 B
SYSTEMD
Raw Permalink Normal View History

2024-03-24 17:20:22 +00:00
[Unit]
Description=Python Exporter for InfluxDB
[Service]
Type=simple
ExecStart=/usr/bin/python3 /opt/pyHS100/influxdbexporter.py
WorkingDirectory=/opt/pyHS100/
Restart=always
RestartSec=2
User=exporter
[Install]
WantedBy=sysinit.target