From 0fbfb83f08bf65c809afda1fc5e310a2b3a24e44 Mon Sep 17 00:00:00 2001 From: Yoann Date: Mon, 14 Jun 2021 12:03:24 +0200 Subject: [PATCH] Apache_exporter parameters need double dash --- templates/apache_exporter.service.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/apache_exporter.service.j2 b/templates/apache_exporter.service.j2 index 4e7cb6e..def9f5a 100644 --- a/templates/apache_exporter.service.j2 +++ b/templates/apache_exporter.service.j2 @@ -8,9 +8,9 @@ Group={{ apache_exporter_system_group }} ExecStart=/usr/local/bin/apache_exporter \ {% if apache_exporter_ignore_https %} - -insecure \ + --insecure \ {% endif %} - -scrape_uri {{ apache_exporter_scrape_uri }} \ - -telemetry.address {{ apache_exporter_telemetry_address }} \ - -telemetry.endpoint {{ apache_exporter_telemetry_endpoint }} + --scrape_uri {{ apache_exporter_scrape_uri }} \ + --telemetry.address {{ apache_exporter_telemetry_address }} \ + --telemetry.endpoint {{ apache_exporter_telemetry_endpoint }}