cli.torConfig.customTorrc cannot overload most settings
The customTorrc settings are not honored due to the order of the resulting torrc variables. For example, it does not look possible to configure a private bridge. example-torrc:
UseBridges 1
Bridge ....
On startup, c.s.t.c.utils.WhirlpoolTorInstaller dutifully reports "Updating torrc file..." Resulting torrc:
PidFile /tmp/whirlpoolTor../lib/tor/pid
SafeSocks 0
SOCKSPort auto
StrictNodes 0
TestSocks 0
UseBridges 1
Bridge ...
TransPort 0
UseBridges 0
AutomapHostsOnResolve 1
CookieAuthentication 1
CookieAuthFile /tmp/whirlpoolTor../lib/tor/control_auth_cookie
ControlPortWriteToFile /tmp/whirlpoolTor../lib/tor/control.txt
ControlPort auto
DNSPort auto
SOCKSPort 2121
SOCKSPort 38353
SOCKSPort 18547
SOCKSPort 5123
Note that UseBridges 0
disables the configured bridge.