mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
10 lines
473 B
Text
10 lines
473 B
Text
{% for php_pool_info in php_pools_infos.splitlines() %}
|
|
{%- set phpversion = php_pool_info.split(',')[0] %}
|
|
{%- set pool_name = php_pool_info.split(',')[1] %}
|
|
{%- if phpversion == pool_version %}
|
|
; Auto generated config for Monitorix monitoring
|
|
[{{ pool_name }}]
|
|
pm.status_listen = /var/run/php/php{{ phpversion }}-fpm-{{ pool_name }}-{{ app }}-status.sock
|
|
pm.status_path = /php-pool-status/php{{ phpversion }}-fpm-{{ pool_name }}
|
|
{%- endif %}
|
|
{% endfor %}
|