small changes on systemd unit

This commit is contained in:
Peter Hasse 2021-11-24 18:14:51 +01:00
parent f303f28209
commit 5d47274cdc

View file

@ -5,5 +5,5 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
WorkingDirectory=/opt/starlink-grpc-tools/ WorkingDirectory=/opt/starlink-grpc-tools/
Environment=INFLUXDB_URL=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=python3 dish_grpc_influx2.py -B starlink -t status alert_detail ExecStart=/opt/starlink-grpc-tools/venv/python3 dish_grpc_influx2.py -B starlink -t 10 status alert_detail