aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-06 15:49:18 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-06 15:49:18 +0300
commited338ea29f1c0f2ad82d3a45b23c0544371b5575 (patch)
tree7a507b6e228b828b3807dbcb3398c7bbf107f189
parentd5e377406cd669871a98ca2da05cb1741b571e91 (diff)
Add new syncthing volume for ableton projects
-rw-r--r--templates/jail_confs/syncthing.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/jail_confs/syncthing.j2 b/templates/jail_confs/syncthing.j2
index 6c518ff..980d47c 100644
--- a/templates/jail_confs/syncthing.j2
+++ b/templates/jail_confs/syncthing.j2
@@ -3,7 +3,9 @@
exec.prestart += "mount -t nullfs /usr/local/jails/volumes/storage/docs /usr/local/jails/containers/syncthing/mnt/docs || echo 'Failed to mount'";
exec.prestart += "mount -t nullfs /usr/local/jails/volumes/storage/vault /usr/local/jails/containers/syncthing/mnt/vault || echo 'Failed to mount'";
exec.prestart += "mount -t nullfs /usr/local/jails/volumes/storage/jan-systems-2025-content /usr/local/jails/containers/syncthing/mnt/jan-systems-2025-content || echo 'Failed to mount'";
+exec.prestart += "mount -t nullfs /usr/local/jails/volumes/storage/projects-ableton /usr/local/jails/containers/syncthing/mnt/projects-ableton || echo 'Failed to mount'";
+exec.poststop += "umount /usr/local/jails/containers/syncthing/mnt/projects-ableton || echo 'Failed to umount'";
exec.poststop += "umount /usr/local/jails/containers/syncthing/mnt/jan-systems-2025-content || echo 'Failed to umount'";
exec.poststop += "umount /usr/local/jails/containers/syncthing/mnt/vault || echo 'Failed to umount'";
exec.poststop += "umount /usr/local/jails/containers/syncthing/mnt/docs || echo 'Failed to umount'";