starlink-grpc-tools/systemd/starlink-influx2.service

13 lines
406 B
SYSTEMD
Raw Permalink Normal View History

2021-11-24 10:26:57 -06:00
[Unit]
Description=Starlink GRPC to InfluxDB 2.x exporter
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/starlink-grpc-tools/
Environment=INFLUXDB_URL=http://localhost:8086 INFLUXDB_TOKEN=<changeme> INFLUXDB_Bucket=<changeme> INFLUXDB_ORG=<changeme>
2021-11-26 04:02:33 -06:00
ExecStart=/opt/starlink-grpc-tools/venv/bin/python3 dish_grpc_influx2.py -t 10 status alert_detail
[Install]
WantedBy=multi-user.target