mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
tor: skip ControlPort in torrc, if not set.
This commit is contained in:
parent
987a2be430
commit
bb5b084986
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ let
|
||||||
GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
|
GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${optint "ControlPort" (toString cfg.controlPort)}
|
${optint "ControlPort" cfg.controlPort}
|
||||||
''
|
''
|
||||||
# Client connection config
|
# Client connection config
|
||||||
+ optionalString cfg.client.enable ''
|
+ optionalString cfg.client.enable ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue