aboutsummaryrefslogtreecommitdiffstats
path: root/templates/jail_confs/dl.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/jail_confs/dl.j2')
-rw-r--r--templates/jail_confs/dl.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/jail_confs/dl.j2 b/templates/jail_confs/dl.j2
index d94cb82..8d98ef4 100644
--- a/templates/jail_confs/dl.j2
+++ b/templates/jail_confs/dl.j2
@@ -1,3 +1,6 @@
{% include 'jail_confs/_epl_network.j2' %}
devfs_ruleset = 4;
allow.mlock;
+
+exec.prestart += "mount -t nullfs /usr/local/jails/volumes/storage /usr/local/jails/containers/dl/mnt/storage || echo 'Failed to mount'";
+exec.poststop += "umount /usr/local/jails/containers/dl/mnt/storage || echo 'Failed to umount'";