summaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2012-01-10 17:41:13 -0200
committerdrebs <drebs@riseup.net>2012-01-10 17:41:13 -0200
commit6e49deaaf26b693ca3538b0239ba7f998d81ef37 (patch)
tree41f0fb428b11ac621e608f15fba7dc4b9fac250d /templates/torrc.directory.erb
parent0e970df70e04129e76053b2c6eccb80610a8f197 (diff)
splitting config in many templates
Diffstat (limited to 'templates/torrc.directory.erb')
-rw-r--r--templates/torrc.directory.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb
new file mode 100644
index 0000000..56cfae0
--- /dev/null
+++ b/templates/torrc.directory.erb
@@ -0,0 +1,12 @@
+# directory listing
+
+<%- if dir_port != '0' then -%>
+DirPort <%= dir_port %>
+<%- end -%>
+<%- if dir_listen_address != '' then -%>
+DirListenAddress <%= dir_listen_address %>
+<%- end -%>
+<%- if dir_port_front_page != '' then -%>
+DirPortFrontPage <%= dir_port_front_page %>
+<%- end -%>
+