diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-01-16 18:08:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-16 18:08:54 +0100 |
commit | 55c5f68771ec0fe221003152992c8911356544a7 (patch) | |
tree | 87a5b71bd932921a52ac8ab6aa61304d3b6df21f | |
parent | bc6cd6a543b5a0299a847bf16390c2144e67da64 (diff) | |
parent | 4aaa2ba5e6216f566ba3f3496820a146a8b09fa9 (diff) |
Merge pull request #152246 from pasqui23/beesd
-rw-r--r-- | nixos/modules/services/misc/bees.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/bees.nix b/nixos/modules/services/misc/bees.nix index cb97a86b85921..fa00d7e4f55d0 100644 --- a/nixos/modules/services/misc/bees.nix +++ b/nixos/modules/services/misc/bees.nix @@ -21,6 +21,8 @@ let <para> This must be in a format usable by findmnt; that could be a key=value pair, or a bare path to a mount point. + Using bare paths will allow systemd to start the beesd service only + after mounting the associated path. ''; example = "LABEL=MyBulkDataDrive"; }; @@ -122,6 +124,7 @@ in StartupIOWeight = 25; SyslogIdentifier = "beesd"; # would otherwise be "bees-service-wrapper" }; + unitConfig.RequiresMountsFor = lib.mkIf (lib.hasPrefix "/" fs.spec) fs.spec; wantedBy = [ "multi-user.target" ]; }) cfg.filesystems; |