File: service

package info (click to toggle)
prometheus-mqtt-exporter 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 240 kB
  • sloc: sh: 63; makefile: 58
file content (14 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Prometheus exporter for metrics sent via MQTT topics
Documentation=https://github.com/hikhvar/mqtt2prometheus

[Service]
Restart=always
User=prometheus
EnvironmentFile=/etc/default/prometheus-mqtt-exporter
ExecStart=/usr/bin/prometheus-mqtt-exporter $ARGS
TimeoutStopSec=20s
SendSIGKILL=no

[Install]
WantedBy=multi-user.target