From 6e49deaaf26b693ca3538b0239ba7f998d81ef37 Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 10 Jan 2012 17:41:13 -0200 Subject: splitting config in many templates --- templates/torrc.exit_policy.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/torrc.exit_policy.erb (limited to 'templates/torrc.exit_policy.erb') diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb new file mode 100644 index 0000000..68ceba2 --- /dev/null +++ b/templates/torrc.exit_policy.erb @@ -0,0 +1,10 @@ +# exit policies: <%= name %> + +<%- for policy in accept -%> +ExitPolicy accept <%= policy %> +<%- end -%> + +<%- for policy in reject -%> +ExitPolicy reject <%= policy %> +<%- end -%> + -- cgit v1.2.3