aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.relay.erb
blob: 47548591c542b1cf48eb9f80844d246512432317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# relay
<%- if port != 0 then -%>
ORPort <%= port %>
<%-   for listen_address in listen_addresses -%>
ORListenAddress <%= listen_address %>
<%-   end -%>
<%-   if nickname != '' then -%>
Nickname <%= nickname %>
<%-   end -%>
<%-   if address != '' then -%>
Address <%= address %>
<%-   end -%>
<%-   if bandwidth_rate != '0' then -%>
RelayBandwidthRate <%= bandwidth_rate %> KB
<%-   end -%>
<%-   if bandwidth_burst != '0' then -%>
RelayBandwidthBurst <%= bandwidth_burst %> KB
<%-   end -%>
<%-   if accounting_max != '0' then -%>
AccountingMax <%= accounting_max %> GB
<%-     if accounting_start then -%>
AccountingStart <%= accounting_start %>
<%-     end -%>
<%-   end -%>
<%-   if contact_info != '' then -%>
ContactInfo <%= contact_info %>
<%-   end -%>
<%- end -%>
<%- if my_family != '' then -%>
MyFamily <%= my_family %>
<%- end -%>
<%- if bridge_relay != '0' then -%>
BridgeRelay <%= bridge_relay %>
<%- end -%>