eq3bt-exporter/eq3bt-exporter.service

19 lines
444 B
SYSTEMD
Raw Normal View History

2022-12-17 20:23:09 +01:00
[Unit]
Description=Prometheus gas station exporter for fuel prices
2022-12-17 20:50:44 +01:00
Documentation=https://git.mosad.xyz/localhorst/eq3bt-exporter
2022-12-17 20:23:09 +01:00
Wants=network-online.target
After=network-online.target
After=wg-quick@wg0.service
[Service]
Restart=always
User=prometheus
2023-01-08 21:20:27 +01:00
WorkingDirectory=/opt/eq3bt-exporter/
2022-12-17 20:50:44 +01:00
ExecStart=/usr/bin/python3 eq3bt-exporter.py
2022-12-17 20:23:09 +01:00
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no
[Install]
WantedBy=multi-user.target