From de068866889976b7f30391c5fb794cda53544c67 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 11 Jan 2012 01:10:36 -0200 Subject: parts of configuration are independent --- templates/torrc.global.erb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/torrc.global.erb (limited to 'templates/torrc.global.erb') diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb new file mode 100644 index 0000000..96ea930 --- /dev/null +++ b/templates/torrc.global.erb @@ -0,0 +1,15 @@ +# runtime + +RunAsDaemon 1 +DataDirectory <%= data_dir %> + +# log + +<%- if log_rules != [] then -%> +<%- for log_rule in log_rules -%> +Log <%= log_rule %> +<%- end -%> +<%- else -%> +Log notice syslog +<%- end -%> + -- cgit v1.2.3