mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
This commit changes of the default location of NGINX temporary files from /var/tmp/nginx (world-writable) to /var/cache/nginx (root-writable). Additionally, this revbumps all www-servers/nginx consumers of nginx.eclass to use the new nginx-r1.tmpfiles, where the path is updated accordingly. This fixes 962961 by specifying that the cache directory should only be pruned on boot, i.e. tmpfiles (even with --remove option) will not delete the temporary files of *running* NGINX. Closes: https://bugs.gentoo.org/962961 Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43823 Closes: https://github.com/gentoo/gentoo/pull/43823 Signed-off-by: Sam James <sam@gentoo.org>