qbittorrent: Fix DNS in systemd service

With the host’s nsswitch, it tries to query nscd, which fails as the
socket is inaccessible.
This commit is contained in:
Simon Bruder 2023-12-17 18:03:40 +01:00
parent 9bd01d1e8c
commit cd47e1da97
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

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