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:
parent
9bd01d1e8c
commit
cd47e1da97
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue