cluster/services/ipfs: set RequiresMountsFor
This commit is contained in:
parent
3ca29def33
commit
2705e5835a
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ in
|
|||
|
||||
|
||||
systemd.services.ipfs = {
|
||||
unitConfig.RequiresMountsFor = cfg.dataDir;
|
||||
serviceConfig = {
|
||||
Slice = "remotefshost.slice";
|
||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||
|
|
Loading…
Reference in a new issue