resilio: require mounts be available
Some checks failed
flake / flake (push) Failing after 42s

Without this resilio fails on boot on tywin.storage where the paths are
on a ZFS array which gets mounted reliably later than the resilio
service attempts to start.
This commit is contained in:
Jake Hillion 2024-09-14 02:27:37 +01:00
parent e4b8fd7438
commit 0fb20534db

View File

@ -61,5 +61,7 @@ in
in in
builtins.map (folder: mkFolder folder.name folder.secret) cfg.folders; builtins.map (folder: mkFolder folder.name folder.secret) cfg.folders;
}; };
systemd.services.resilio.RequiresMountsFor = builtins.map (folder: "${config.services.resilio.directoryRoot}/${folder.name}") cfg.folders;
}; };
} }