aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.control.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.control.erb')
-rw-r--r--templates/torrc.control.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/torrc.control.erb b/templates/torrc.control.erb
new file mode 100644
index 0000000..27b8156
--- /dev/null
+++ b/templates/torrc.control.erb
@@ -0,0 +1,7 @@
+# tor controller
+
+<%- if control_port != '0' then -%>
+ControlPort <%= control_port %>
+HashedControlPassword <%= hashed_control_password %>
+<%- end -%>
+