summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-11-13 10:48:32 +0000
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-11-13 10:48:32 +0000
commit3837d28f9b7c5d0840d2e4b26f4867b66838d31b (patch)
treed0911324c83a45b51afcb1c31fced83f844ad987 /src/nxt_conf_validation.c
parentd6829cc93b86f10a4ad747bfcc92a9cdfb2c2519 (diff)
downloadunit-3837d28f9b7c5d0840d2e4b26f4867b66838d31b.tar.gz
unit-3837d28f9b7c5d0840d2e4b26f4867b66838d31b.tar.bz2
Isolation: added option to disable tmpfs mount.
Now users can disable the default tmpfs mount point in the rootfs. { "isolation": { "automount": { "tmpfs": false } } }
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index fc521016..69a47274 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -841,6 +841,9 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_app_automount_members[] = {
{
.name = nxt_string("language_deps"),
.type = NXT_CONF_VLDT_BOOLEAN,
+ }, {
+ .name = nxt_string("tmpfs"),
+ .type = NXT_CONF_VLDT_BOOLEAN,
},
NXT_CONF_VLDT_END