poll data from real BT device

This commit is contained in:
2022-12-17 20:50:44 +01:00
parent df9447eee4
commit cccfbf589c
2 changed files with 14 additions and 11 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Prometheus gas station exporter for fuel prices
Documentation=https://git.mosad.xyz/localhorst/gas-station-exporter
Documentation=https://git.mosad.xyz/localhorst/eq3bt-exporter
Wants=network-online.target
After=network-online.target
After=wg-quick@wg0.service
@ -8,8 +8,8 @@ After=wg-quick@wg0.service
[Service]
Restart=always
User=prometheus
WorkingDirectory=/usr/bin/gas-station-exporter/
ExecStart=/usr/bin/python3 gas-station-exporter.py
WorkingDirectory=/usr/bin/eq3bt-exporter/
ExecStart=/usr/bin/python3 eq3bt-exporter.py
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no