From 76f92c14deb2ec44e4979494e288d86ab27911ae Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 28 Dec 2016 11:37:01 +0100 Subject: [PATCH] torrc header template --- modules/onion/templates/torrc-header.erb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/onion/templates/torrc-header.erb diff --git a/modules/onion/templates/torrc-header.erb b/modules/onion/templates/torrc-header.erb new file mode 100644 index 000000000..356431cc0 --- /dev/null +++ b/modules/onion/templates/torrc-header.erb @@ -0,0 +1,9 @@ +SocksPort 0 +Log notice syslog + +<%- if has_variable?("tor_ge_0.2.9") && tor_ge_0.2.9 == "true" -%> +HiddenServiceSingleHopMode 1 +HiddenServiceNonAnonymousMode 1 +<%- end -%> + + -- 2.20.1