summaryrefslogtreecommitdiff
path: root/templates/torrc.header.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.header.erb')
-rw-r--r--templates/torrc.header.erb17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/torrc.header.erb b/templates/torrc.header.erb
new file mode 100644
index 0000000..b393631
--- /dev/null
+++ b/templates/torrc.header.erb
@@ -0,0 +1,17 @@
+# This file is managed by puppet.
+
+# runtime
+
+RunAsDaemon 1
+DataDirectory <%= data_directory %>
+
+# log
+
+<%- if log_rules != [] then -%>
+<%- for log_rule in log_rules -%>
+Log <%= log_rule %>
+<%- end -%>
+<%- else -%>
+Log notice syslog
+<%- end -%>
+