resilio: require mounts be available #321

Merged
JakeHillion merged 1 commits from resilio-require-mounts into main 2024-09-14 02:37:49 +01:00

View File

@ -61,5 +61,7 @@ in
in
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;
};
}