From 2705e5835a7e6ef568a57a99a6dabf2231953e2f Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 23 Aug 2023 00:58:36 +0200 Subject: [PATCH] cluster/services/ipfs: set RequiresMountsFor --- cluster/services/ipfs/node.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/services/ipfs/node.nix b/cluster/services/ipfs/node.nix index ce581f2..a9af1d6 100644 --- a/cluster/services/ipfs/node.nix +++ b/cluster/services/ipfs/node.nix @@ -135,6 +135,7 @@ in systemd.services.ipfs = { + unitConfig.RequiresMountsFor = cfg.dataDir; serviceConfig = { Slice = "remotefshost.slice"; AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];