diff --git a/modules/ipfs-cluster/default.nix b/modules/ipfs-cluster/default.nix index 9992dab..ed1b8c6 100644 --- a/modules/ipfs-cluster/default.nix +++ b/modules/ipfs-cluster/default.nix @@ -121,6 +121,8 @@ in { environment.IPFS_CLUSTER_PATH = cfg.dataDir; wantedBy = [ "default.target" ]; + unitConfig.RequiresMountsFor = cfg.dataDir; + serviceConfig = { # "" clears exec list (man systemd.service -> execStart) ExecStart = [