added simple systemd unit
This commit is contained in:
parent
08ebefcb6e
commit
f303f28209
1 changed files with 9 additions and 0 deletions
9
systemd/starlink-influx2.service
Normal file
9
systemd/starlink-influx2.service
Normal file
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Starlink GRPC to InfluxDB 2.x exporter
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/starlink-grpc-tools/
|
||||
Environment=INFLUXDB_URL=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
|
Loading…
Reference in a new issue