qbittorrent: Fix DNS in systemd service

With the host’s nsswitch, it tries to query nscd, which fails as the
socket is inaccessible.
renge2
Simon Bruder 2023-12-17 18:03:40 +01:00
parent 9bd01d1e8c
commit cd47e1da97
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ in
# Avoid using nscd (leaks dns)
InaccessiblePaths = [
"/run/nscd"
"/etc/nsswitch.conf"
];
# Make correct resolv.conf available for unit
BindReadOnlyPaths = [