cluster/services/ipfs: set RequiresMountsFor

This commit is contained in:
Max Headroom 2023-08-23 00:58:36 +02:00
parent 3ca29def33
commit 2705e5835a

View file

@ -135,6 +135,7 @@ in
systemd.services.ipfs = {
unitConfig.RequiresMountsFor = cfg.dataDir;
serviceConfig = {
Slice = "remotefshost.slice";
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];