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