mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
1b34039b5f
If `services.tor.client.enable` is set to false (the default), the `SOCKSPort` option is not added to the torrc file but since Tor defaults to listening on port 9050 when the option is not specified, the tor client is not actually disabled. To fix this, simply set `SOCKSPort` to 0, which disables the client. Use `mkForce` to prevent potentially two different `SOCKSPort` options in the torrc file, with one of them being 0 as this would cause Tor to fail to start. When `services.tor.client.enable` is set to false, this should always be disabled. |
||
---|---|---|
.. | ||
release-notes.xml | ||
rl-1310.section.md | ||
rl-1404.section.md | ||
rl-1412.section.md | ||
rl-1509.section.md | ||
rl-1603.section.md | ||
rl-1609.section.md | ||
rl-1703.section.md | ||
rl-1709.section.md | ||
rl-1803.section.md | ||
rl-1809.section.md | ||
rl-1903.section.md | ||
rl-1909.section.md | ||
rl-2003.section.md | ||
rl-2009.section.md | ||
rl-2105.section.md | ||
rl-2111.section.md | ||
rl-2205.section.md |