summaryrefslogtreecommitdiff
path: root/rc.php-fpm/php-fpm82-srv/run
diff options
context:
space:
mode:
Diffstat (limited to 'rc.php-fpm/php-fpm82-srv/run')
-rw-r--r--rc.php-fpm/php-fpm82-srv/run13
1 files changed, 13 insertions, 0 deletions
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