summaryrefslogtreecommitdiff
path: root/eclass/nginx.eclass
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2025-07-06 21:57:07 +0200
committerLouis Sautier <sbraz@gentoo.org>2025-07-07 13:45:57 +0200
commit482a88ab3e2346bb89fe1eea0c40c2b96e8d04d4 (patch)
tree376162f61c76b59e8c42b9d53cb2393835fe6f09 /eclass/nginx.eclass
parenta1635cfded3d2df3ef9802ad13b965be17e46078 (diff)
downloadgentoo-482a88ab3e2346bb89fe1eea0c40c2b96e8d04d4.tar.gz
gentoo-482a88ab3e2346bb89fe1eea0c40c2b96e8d04d4.tar.bz2
gentoo-482a88ab3e2346bb89fe1eea0c40c2b96e8d04d4.zip
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 <sbraz@gentoo.org> Bug: https://bugs.gentoo.org/939560 Bug: https://bugs.gentoo.org/959651
Diffstat (limited to 'eclass/nginx.eclass')
-rw-r--r--eclass/nginx.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/nginx.eclass b/eclass/nginx.eclass
index d538078f096e..170e7f152af8 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