aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/torrc.global.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.global.erb b/templates/torrc.global.erb
index 730cdac..0bc3bf2 100644
--- a/templates/torrc.global.erb
+++ b/templates/torrc.global.erb
@@ -1,6 +1,6 @@
# runtime
RunAsDaemon 1
-DataDirectory <%= data_dir %>
+DataDirectory <%= scope.lookupvar('tor::daemon::data_dir') %>
# log
<%- if scope.lookupvar('tor::daemon::log_rules') != [] then -%>