resilio: require mounts be available
All checks were successful
flake / flake (push) Successful in 1m15s

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 ac6f285400

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.unitConfig.RequiresMountsFor = builtins.map (folder: "${config.services.resilio.directoryRoot}/${folder.name}") cfg.folders;
}; };
} }