updates systemD unit

This commit is contained in:
Peter Hasse 2021-11-26 11:02:33 +01:00
parent d8cf8c6a7f
commit 6fc08ec277

View file

@ -6,4 +6,7 @@ After=network.target
Type=simple Type=simple
WorkingDirectory=/opt/starlink-grpc-tools/ WorkingDirectory=/opt/starlink-grpc-tools/
Environment=INFLUXDB_URL=http://localhost:8086 INFLUXDB_TOKEN=<changeme> INFLUXDB_Bucket=<changeme> INFLUXDB_ORG=<changeme> INFLUXDB_SSL=false 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 ExecStart=/opt/starlink-grpc-tools/venv/bin/python3 dish_grpc_influx2.py -t 10 status alert_detail
[Install]
WantedBy=multi-user.target