From 67de9569878d6b545ee48e26f33d7b3ce1a61a76 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Tue, 15 Apr 2025 22:39:49 +0200
Subject: [PATCH] Set pm.status_listen PHP option

Mirror the change in apache2-php-base that is expected by the
php-fpm Prometheus exporter.
---
 docker/conf/php/8.2/fpm/pool.d/www.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker/conf/php/8.2/fpm/pool.d/www.conf b/docker/conf/php/8.2/fpm/pool.d/www.conf
index 89f95471..c5a0a8de 100644
--- a/docker/conf/php/8.2/fpm/pool.d/www.conf
+++ b/docker/conf/php/8.2/fpm/pool.d/www.conf
@@ -9,6 +9,7 @@ pm.max_spare_servers = 20
 pm.max_requests = 10000
 
 pm.status_path = /status
+pm.status_listen = /run/php/php8.2-status.sock
 
 ; Redirect worker stdout and stderr into main error log. If not set, stdout and
 ; stderr will be redirected to /dev/null according to FastCGI specs.
-- 
GitLab