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