001-torrc.patch 845 B

12345678910111213141516171819202122232425
  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. @@ -50,7 +50,7 @@
  12. ## The directory for keeping all the keys/etc. By default, we store
  13. ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
  14. -#DataDirectory @LOCALSTATEDIR@/lib/tor
  15. +DataDirectory @LOCALSTATEDIR@/lib/tor
  16. ## The port on which Tor will listen for local connections from Tor
  17. ## controller applications, as documented in control-spec.txt.
  18. @@ -204,3 +204,4 @@
  19. ## address manually to your friends, uncomment this line:
  20. #PublishServerDescriptor 0
  21. +User tor