aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.global.erb
blob: 0bc3bf2929299044a1e89056febc4569566d8dbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# runtime
RunAsDaemon 1
DataDirectory <%= scope.lookupvar('tor::daemon::data_dir') %>

# log
<%- 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 <%= scope.lookupvar('tor::daemon::automap_hosts_on_resolve') %>
UseBridges <%= scope.lookupvar('tor::daemon::use_bridges') %>