commit: 5e69b74fc8c9542faa6891c56b736f1d73da3202 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Wed Jan 22 17:19:33 2020 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Wed Jan 22 22:44:15 2020 +0000 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=5e69b74f
src/php-fpm.conf: move the php-fpm tmpfiles.d entry "upstream." The tmpfiles.d entry for php-fpm creates one "runstate" directory for all slots of php-fpm. Since none of that depends on the currently selected slot, we ship it as part of eselect-php rather than dev-lang/php which would either install one copy for each slot. Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> Makefile.am | 3 +++ src/php-fpm.conf | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index fbca127..f544739 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,9 @@ if FPM nodist_conf_DATA = $(srcdir)/openrc/conf.d/php-fpm nodist_libexec_SCRIPTS = $(srcdir)/src/php-fpm-launcher + + tmpfilesdir = $(prefix)/lib/tmpfiles.d + dist_tmpfiles_DATA = $(srcdir)/src/php-fpm.conf endif # The next few rules allow us to replace bindir, libdir, etc. diff --git a/src/php-fpm.conf b/src/php-fpm.conf new file mode 100644 index 0000000..a49ba7b --- /dev/null +++ b/src/php-fpm.conf @@ -0,0 +1,5 @@ +# tmpfiles.d entry for php-fmp +# +# When autoconf-2.70 is released and --runstatedir is supported, +# we should change this /run to @RUNSTATEDIR@. +d /run/php-fpm 755 root root