78d4ee978dcd1dc9362a1b65a5655fd0bdc0337e
[librecmc/librecmc.git] / package / network / services / tor / patches / 001-torrc.patch
1 --- a/src/config/torrc.sample.in
2 +++ b/src/config/torrc.sample.in
3 @@ -39,7 +39,7 @@
4  ## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log
5  #Log debug file @LOCALSTATEDIR@/log/tor/debug.log
6  ## Use the system log instead of Tor's logfiles
7 -#Log notice syslog
8 +Log notice syslog
9  ## To send all messages to stderr:
10  #Log debug stderr
11  
12 @@ -50,7 +50,7 @@
13  
14  ## The directory for keeping all the keys/etc. By default, we store
15  ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
16 -#DataDirectory @LOCALSTATEDIR@/lib/tor
17 +DataDirectory @LOCALSTATEDIR@/lib/tor
18  
19  ## The port on which Tor will listen for local connections from Tor
20  ## controller applications, as documented in control-spec.txt.
21 @@ -227,3 +227,4 @@
22  #%include /etc/torrc.d/
23  #%include /etc/torrc.custom
24  
25 +User tor