summaryrefslogtreecommitdiff
path: root/templates/torrc.control.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.control.erb
parent0e970df70e04129e76053b2c6eccb80610a8f197 (diff)
splitting config in many templates
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 -%>
+