diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/torrc.global.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb index 3a3b623..0bc3bf2 100644 --- a/templates/torrc.global.erb +++ b/templates/torrc.global.erb @@ -1,15 +1,15 @@ # runtime RunAsDaemon 1 -DataDirectory <%= data_dir %> +DataDirectory <%= scope.lookupvar('tor::daemon::data_dir') %> # log -<%- if log_rules != [] then -%> -<%- for log_rule in log_rules -%> +<%- if scope.lookupvar('tor::daemon::log_rules') != [] then -%> +<%- for log_rule in scope.lookupvar('tor::daemon::log_rules') -%> Log <%= log_rule %> <%- end -%> <%- else -%> Log notice syslog <%- end -%> -AutomapHostsOnResolve <%= automap_hosts_on_resolve%> -UseBridges <%= use_bridges%> +AutomapHostsOnResolve <%= scope.lookupvar('tor::daemon::automap_hosts_on_resolve') %> +UseBridges <%= scope.lookupvar('tor::daemon::use_bridges') %> |