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

This commit is contained in:
mordash 2021-12-22 16:14:07 +01:00 committed by GitHub
parent 78c3fb1592
commit 1f00270f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)