From 482a88ab3e2346bb89fe1eea0c40c2b96e8d04d4 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 6 Jul 2025 21:57:07 +0200 Subject: [PATCH] nginx.eclass: make /run/nginx/nginx.pid the default pidfile This restores pre-eclass behavior, when 108a642ef4da9fa6ae4f0d33580a05cea3f70678 moved the pidfile to a subfolder of /run. Signed-off-by: Louis Sautier Bug: https://bugs.gentoo.org/939560 Bug: https://bugs.gentoo.org/959651 --- eclass/nginx.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/nginx.eclass b/eclass/nginx.eclass index d538078f096e9..170e7f152af88 100644 --- a/eclass/nginx.eclass +++ b/eclass/nginx.eclass @@ -591,7 +591,7 @@ nginx_src_configure() { --conf-path="${EPREFIX}/etc/nginx/nginx.conf" --error-log-path="${EPREFIX}/var/log/nginx/error.log" --http-log-path="${EPREFIX}/var/log/nginx/access.log" - --pid-path="${EPREFIX}/run/nginx.pid" + --pid-path="${EPREFIX}/run/nginx/nginx.pid" --lock-path="${EPREFIX}/run/lock/nginx.lock" --user=nginx --group=nginx