aboutsummaryrefslogtreecommitdiffstats
path: root/templates/jail_confs/komga.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/jail_confs/komga.j2')
-rw-r--r--templates/jail_confs/komga.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/jail_confs/komga.j2 b/templates/jail_confs/komga.j2
new file mode 100644
index 0000000..2567fa2
--- /dev/null
+++ b/templates/jail_confs/komga.j2
@@ -0,0 +1,4 @@
+{% include 'jail_confs/_default.j2' %}
+
+exec.prestart += "mount -t nullfs /usr/local/jails/volumes/storage/media/manga /usr/local/jails/containers/komga/mnt/manga || echo 'Failed to mount'";
+exec.poststop += "umount /usr/local/jails/containers/komga/mnt/manga || echo 'Failed to umount'";