summaryrefslogtreecommitdiff
path: root/app-metrics/tibber-exporter/files/tibber-exporter.service
blob: b4461f98d85441c022dc77e4ff3e4621d2883532 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Tibber metrics exporter for prometheus.io
Documentation=https://github.com/terjesannum/tibber-exporter
After=network-online.target

[Service]
User=tibber-exporter
Restart=on-failure
EnvironmentFile=/etc/conf.d/tibber-exporter
ExecStart=/usr/bin/tibber-exporter $command_args
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no

[Install]
WantedBy=multi-user.target