aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.control.erb
blob: 336c72d5844d2eac5cc6e367298854d3bf9af300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# tor controller
<%- if port != '0' then -%>
ControlPort <%= port %>
<%- if cookie_authentication != '0' then -%>
CookieAuthentication 1
<%- if cookie_auth_file != '' then -%>
CookieAuthFile <%= cookie_auth_file %>
<%- end -%>
<%- if cookie_auth_file_group_readable != '' then -%>
CookieAuthFileGroupReadable <%= cookie_auth_file_group_readable %>
<%- end -%>
<%- else -%>
HashedControlPassword <%= hashed_control_password %>
<%- end -%>
<%- end -%>