summaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
diff options
context:
space:
mode:
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 -%>
+