qbittorrent: Avoid using nscd

23.11
Simon Bruder 2023-10-04 17:01:35 +02:00
parent 7fc8a4694c
commit 3a12a3f53a
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 10 additions and 0 deletions

View File

@ -94,6 +94,16 @@ in
# Increase number of open file descriptors (default: 1024)
LimitNOFILE = 65536;
# Avoid using nscd (leaks dns)
InaccessiblePaths = [
"/run/nscd"
];
# Make correct resolv.conf available for unit
BindReadOnlyPaths = [
"/etc/netns/qbittorrent/resolv.conf:/etc/resolv.conf"
];
# systemd-analyze --no-pager security qbittorrent.service
CapabilityBoundingSet = null;
PrivateDevices = true;