1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

tor: skip ControlPort in torrc, if not set.

This commit is contained in:
Jörg Thalheim 2017-09-13 23:30:45 +01:00
parent 987a2be430
commit bb5b084986

View file

@ -17,7 +17,7 @@ let
GeoIPv6File ${pkgs.tor.geoip}/share/tor/geoip6
''}
${optint "ControlPort" (toString cfg.controlPort)}
${optint "ControlPort" cfg.controlPort}
''
# Client connection config
+ optionalString cfg.client.enable ''