From 8839b666f93cfa7d0ca23e5af1eafb833e7ab02a Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 8 May 2019 23:34:36 -0400 Subject: [PATCH] Added exporter description --- prometheus/files/exporter.systemd.jinja | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prometheus/files/exporter.systemd.jinja b/prometheus/files/exporter.systemd.jinja index d4be655..e9bc1c6 100644 --- a/prometheus/files/exporter.systemd.jinja +++ b/prometheus/files/exporter.systemd.jinja @@ -1,5 +1,9 @@ [Unit] +{%- if description %} +Description=Prometheus {{ description }} +{%- else %} Description=Prometheus {{ svc }} Exporter +{%- endif %} {%- if url %} Documentation={{ url }} {%- endif %}