forked from mirrors/nixpkgs
nixos/transmission: remove InaccessiblePaths= to enable reload, fixes #135695
This commit is contained in:
parent
f8d3946708
commit
aaf21b9636
|
@ -269,8 +269,6 @@ in
|
||||||
# Create rootDir in the host's mount namespace.
|
# Create rootDir in the host's mount namespace.
|
||||||
RuntimeDirectory = [(baseNameOf rootDir)];
|
RuntimeDirectory = [(baseNameOf rootDir)];
|
||||||
RuntimeDirectoryMode = "755";
|
RuntimeDirectoryMode = "755";
|
||||||
# Avoid mounting rootDir in the own rootDir of ExecStart='s mount namespace.
|
|
||||||
InaccessiblePaths = ["-+${rootDir}"];
|
|
||||||
# This is for BindPaths= and BindReadOnlyPaths=
|
# This is for BindPaths= and BindReadOnlyPaths=
|
||||||
# to allow traversal of directories they create in RootDirectory=.
|
# to allow traversal of directories they create in RootDirectory=.
|
||||||
UMask = "0066";
|
UMask = "0066";
|
||||||
|
|
Loading…
Reference in a new issue