dotfiles/etc/tor/torrc.cgt
2023-11-16 11:08:02 +01:00

18 lines
423 B
Text

User tor
Log notice syslog
DataDirectory /var/lib/tor
ControlPort 9051
ControlSocket /var/lib/tor/control_socket
ControlSocketsGroupWritable 1
DataDirectoryGroupReadable 1
CacheDirectoryGroupReadable 1 # workaround for tor bug #26913
<! if opt.tor_pw_hash then !>
HashedControlPassword <% opt.tor_pw_hash %>
<! end !>
CookieAuthentication 1
CookieAuthFile /var/lib/tor/control_auth_cookie
CookieAuthFileGroupReadable 1