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

9 lines
394 B
SYSTEMD
Raw 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/
2021-11-24 11:14:51 -06:00
Environment=INFLUXDB_URL=http://localhost:8086 INFLUXDB_TOKEN=<changeme> INFLUXDB_Bucket=<changeme> INFLUXDB_ORG=<changeme> INFLUXDB_SSL=false
ExecStart=/opt/starlink-grpc-tools/venv/python3 dish_grpc_influx2.py -B starlink -t 10 status alert_detail