summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-08-25 15:25:51 +0100
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-08-25 15:25:51 +0100
commitb65a8636bb5b2ee61c69660aa6f7edc7d909e632 (patch)
treeb089b6c7633eb03170d8aab0a8ede14fbcf457c2 /auto/modules/php
parent244ffb2829cfbac26e013988474184d6050504fe (diff)
downloadunit-b65a8636bb5b2ee61c69660aa6f7edc7d909e632.tar.gz
unit-b65a8636bb5b2ee61c69660aa6f7edc7d909e632.tar.bz2
Isolation: added "automount" option.
Now it's possible to disable default bind mounts of languages by setting: { "isolation": { "automount": { "language_deps": false } } } In this case, the user is responsible to provide a "rootfs" containing the language libraries and required files for the application.
Diffstat (limited to 'auto/modules/php')
-rw-r--r--auto/modules/php6
1 files changed, 3 insertions, 3 deletions
diff --git a/auto/modules/php b/auto/modules/php
index 0ba82eae..848fc1bc 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -233,11 +233,11 @@ NXT_PHP_MOUNTS_HEADER=nxt_${NXT_PHP_MODULE}_mounts.h
cat << END > $NXT_BUILD_DIR/$NXT_PHP_MOUNTS_HEADER
static const nxt_fs_mount_t nxt_php_mounts[] = {
{(u_char *) "$NXT_PHP_EXT_DIR", (u_char *) "$NXT_PHP_EXT_DIR",
- (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL},
+ (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL, 1},
{(u_char *) "$NXT_PHP_LIBC_DIR", (u_char *) "$NXT_PHP_LIBC_DIR",
- (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL},
+ (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL, 1},
{(u_char *) "$NXT_PHP_SYSLIB_DIR", (u_char *) "$NXT_PHP_SYSLIB_DIR",
- (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL},
+ (u_char *) "bind", NXT_MS_BIND | NXT_MS_REC, NULL, 1},
};
END