summaryrefslogtreecommitdiff
path: root/rc.php-fpm/php-fpm82-srv
diff options
context:
space:
mode:
Diffstat (limited to 'rc.php-fpm/php-fpm82-srv')
-rw-r--r--rc.php-fpm/php-fpm82-srv/dependencies5
-rw-r--r--rc.php-fpm/php-fpm82-srv/down-signal1
-rw-r--r--rc.php-fpm/php-fpm82-srv/env/CMD1
-rw-r--r--rc.php-fpm/php-fpm82-srv/env/CMD_OPTS1
-rw-r--r--rc.php-fpm/php-fpm82-srv/producer-for1
-rw-r--r--rc.php-fpm/php-fpm82-srv/run13
-rw-r--r--rc.php-fpm/php-fpm82-srv/type1
7 files changed, 23 insertions, 0 deletions
diff --git a/rc.php-fpm/php-fpm82-srv/dependencies b/rc.php-fpm/php-fpm82-srv/dependencies
new file mode 100644
index 0000000..a262a61
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/dependencies
@@ -0,0 +1,5 @@
+tmpfs-run
+# Comment out "remount-root" and uncomment "local-fs"
+# if you use separate partition for /var
+remount-root
+#local-fs
diff --git a/rc.php-fpm/php-fpm82-srv/down-signal b/rc.php-fpm/php-fpm82-srv/down-signal
new file mode 100644
index 0000000..c91fe26
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/down-signal
@@ -0,0 +1 @@
+SIGQUIT
diff --git a/rc.php-fpm/php-fpm82-srv/env/CMD b/rc.php-fpm/php-fpm82-srv/env/CMD
new file mode 100644
index 0000000..79cff87
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/env/CMD
@@ -0,0 +1 @@
+php-fpm-8.2
diff --git a/rc.php-fpm/php-fpm82-srv/env/CMD_OPTS b/rc.php-fpm/php-fpm82-srv/env/CMD_OPTS
new file mode 100644
index 0000000..a541ab3
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/env/CMD_OPTS
@@ -0,0 +1 @@
+-F -O
diff --git a/rc.php-fpm/php-fpm82-srv/producer-for b/rc.php-fpm/php-fpm82-srv/producer-for
new file mode 100644
index 0000000..41d7b0e
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/producer-for
@@ -0,0 +1 @@
+php-fpm82-log
diff --git a/rc.php-fpm/php-fpm82-srv/run b/rc.php-fpm/php-fpm82-srv/run
new file mode 100644
index 0000000..eebae1a
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/run
@@ -0,0 +1,13 @@
+#!/bin/execlineb -P
+
+################################################
+# Start the PHP FastCGI Process Manager daemon #
+################################################
+
+fdmove -c 2 1
+s6-envdir env
+multisubstitute {
+ importas -u CMD CMD
+ importas -usCd" " CMD_OPTS CMD_OPTS
+}
+exec -c $CMD $CMD_OPTS
diff --git a/rc.php-fpm/php-fpm82-srv/type b/rc.php-fpm/php-fpm82-srv/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/rc.php-fpm/php-fpm82-srv/type
@@ -0,0 +1 @@
+longrun