summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/tor/torrc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-deps/tor/torrc.patch')
-rw-r--r--arch/tde-deps/tor/torrc.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/tde-deps/tor/torrc.patch b/arch/tde-deps/tor/torrc.patch
new file mode 100644
index 000000000..0f3c849a4
--- /dev/null
+++ b/arch/tde-deps/tor/torrc.patch
@@ -0,0 +1,28 @@
+--- a/src/config/torrc.sample.in 2021-03-10 19:59:10.123456789 +0100
++++ b/src/config/torrc.sample.in 2021-03-10 19:59:10.123456789 +0100
+@@ -11,6 +11,7 @@
+ ##
+ ## Tor will look for this file in various places based on your platform:
+ ## https://www.torproject.org/docs/faq#torrc
++User tor
+
+ ## Tor opens a SOCKS proxy on port 9050 by default -- even if you don't
+ ## configure one below. Set "SOCKSPort 0" if you plan to run Tor only
+@@ -39,7 +40,7 @@
+ ## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log
+ #Log debug file @LOCALSTATEDIR@/log/tor/debug.log
+ ## Use the system log instead of Tor's logfiles
+-#Log notice syslog
++Log notice syslog
+ ## To send all messages to stderr:
+ #Log debug stderr
+
+@@ -50,7 +51,7 @@
+
+ ## The directory for keeping all the keys/etc. By default, we store
+ ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
+-#DataDirectory @LOCALSTATEDIR@/lib/tor
++DataDirectory @LOCALSTATEDIR@/lib/tor
+
+ ## The port on which Tor will listen for local connections from Tor
+ ## controller applications, as documented in control-spec.txt.