package-pipelines-miscellan.../mqtt2prometheus/mqtt2prometheus.service

14 lines
301 B
SYSTEMD
Raw Permalink Normal View History

2023-12-05 23:40:22 +01:00
[Unit]
Description=Translator from MQTT topics to prometheus metrics
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/bin/mqtt2prometheus -config /etc/mqtt2prometheus.yml
DynamicUser=true
CapabilityBoundingSet=
Restart=on-failure
[Install]
WantedBy=multi-user.target