discover fpm socket paths - fix wrong path

This commit is contained in:
Camille Prugnard 2021-11-15 17:10:47 +01:00
parent 6a6eda6c6f
commit 59550049fc

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 {{ prometheus_phpfpm_sockets_directory }}" $1}' |head -c -1)
/usr/local/bin/prometheus-phpfpm-exporter $(ls -1 {{ prometheus_phpfpm_sockets_directory }}*.sock | awk '{print "--phpfpm.socket-paths "$1}' |head -c -1)