summaryrefslogtreecommitdiff
path: root/templates/torrc.relay.erb
blob: d9f06ae5d08d31f2be7dfe08cd55d11cfe5190d0 (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
36
# 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 relay_bandwidth_rate != '0' then -%>
RelayBandwidthRate <%= relay_bandwidth_rate %> KB
<%-   end -%>
<%-   if relay_bandwidth_burst != '0' then -%>
RelayBandwidthBurst <%= relay_bandwidth_burst %> KB
<%-   end -%>
<%-   if accounting_max != '0' then -%>
AccountingMax <%= accounting_max %> GB
<%-     for accounting in accounting_start -%>
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 -%>