resilio: require mounts be available
All checks were successful
flake / flake (push) Successful in 1m15s
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:
parent
e4b8fd7438
commit
ac6f285400
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user