From 5e69b74fc8c9542faa6891c56b736f1d73da3202 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 22 Jan 2020 12:19:33 -0500 Subject: 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 --- Makefile.am | 3 +++ src/php-fpm.conf | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 src/php-fpm.conf 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 -- cgit v1.2.3-65-gdbad