Update prometheus-phpfpm-exporter-script.sh.j2

This commit is contained in:
2021-12-22 16:14:07 +01:00
committed by GitHub
parent 78c3fb1592
commit 1f00270f04

View File

@ -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)