14 lines
296 B
Desktop File
14 lines
296 B
Desktop File
[Unit]
|
|
Description=Prometheus exporter for MQTT
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/opt/mqtt_exporter/mqtt-exporter.py /etc/mqtt_exporter.yaml
|
|
Restart=always
|
|
RestartSec=10
|
|
DynamicUser=true
|
|
AmbientCapabilities=CAP_NET_RAW,CAP_NET_ADMIN+eip
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|