aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.global.erb
blob: 730cdacdb2acdc30cfa48bf14ffbca78b5a00044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# runtime
RunAsDaemon 1
DataDirectory <%= 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') %>