first working state with dummy data

This commit is contained in:
2022-12-17 20:23:09 +01:00
parent c0ac43c640
commit df9447eee4
3 changed files with 182 additions and 1 deletions

18
eq3bt-exporter.service Normal file
View File

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