From 1f00270f04c3c65d1f98d120d40bcad760e034a2 Mon Sep 17 00:00:00 2001 From: mordash Date: Wed, 22 Dec 2021 16:14:07 +0100 Subject: [PATCH] Update prometheus-phpfpm-exporter-script.sh.j2 --- templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 b/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 index 108c412..d21446a 100644 --- a/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 +++ b/templates/scripts/prometheus-phpfpm-exporter-script.sh.j2 @@ -1,2 +1,2 @@ #!/bin/bash -/usr/local/bin/prometheus-phpfpm-exporter $(ls -1 {{ prometheus_phpfpm_sockets_directory }}*.sock | awk '{print "--phpfpm.socket-paths "$1}' |head -c -1) +/usr/local/bin/prometheus-phpfpm-exporter $(ls -1 {{ prometheus_phpfpm_sockets_directory }}*.sock {{ prometheus_phpfpm_sockets_directory_additional }} | awk '{print "--phpfpm.socket-paths "$1}' |head -c -1)