qbittorrent: Avoid using nscd

This commit is contained in:
Simon Bruder 2023-10-04 17:01:35 +02:00
parent 7fc8a4694c
commit 3a12a3f53a
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

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;