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 %}