diff --git a/files/fpm.conf b/files/fpm.conf new file mode 100644 index 0000000..776f2c6 --- /dev/null +++ b/files/fpm.conf @@ -0,0 +1,26 @@ +[www] + +user = www-data +group = www-data + +listen = /run/php/php7.0-fpm.sock + +listen.owner = www-data +listen.group = www-data + +; Choose how process manager will control the number of child processes. +pm = dynamic + +pm.max_children = 5 + +pm.start_servers = 2 +pm.min_spare_servers = 1 +pm.max_spare_servers = 3 + +env[HOSTNAME] = $HOSTNAME +env[PATH] = /usr/local/bin:/usr/bin:/bin +env[TMP] = /tmp +env[TMPDIR] = /tmp +env[TEMP] = /tmp + +security.limit_extensions = .php diff --git a/gencode-remote b/gencode-remote index 94bd17a..aff26ad 100755 --- a/gencode-remote +++ b/gencode-remote @@ -25,8 +25,12 @@ admin_user=$(cat "$__object/parameter/admin-user") admin_pass=$(cat "$__object/parameter/admin-pass") # TODO check shasum of tar ball cat <