summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--src/php-fpm.conf5
2 files changed, 8 insertions, 0 deletions
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