From 17e1e50a48ce03ed9bc33c86a105d8cda580cd57 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Tue, 29 Nov 2022 14:59:45 +0100 Subject: [PATCH] memcached - handle socket --- templates/systemd/prometheus-memcached-exporter.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/systemd/prometheus-memcached-exporter.service.j2 b/templates/systemd/prometheus-memcached-exporter.service.j2 index 0306d13..47dacec 100644 --- a/templates/systemd/prometheus-memcached-exporter.service.j2 +++ b/templates/systemd/prometheus-memcached-exporter.service.j2 @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/local/bin/prometheus-memcached-exporter +ExecStart=/usr/local/bin/prometheus-memcached-exporter {% if prometheus_memcached_socket_path is defined %}--memcached.address="{{ prometheus_memcached_socket_path }}"{% endif %} [Install] WantedBy=multi-user.target