21 lines
795 B

  1. --- a/src/config/torrc.sample.in
  2. +++ b/src/config/torrc.sample.in
  3. @@ -45,11 +45,11 @@
  4. ## Uncomment this to start the process in the background... or use
  5. ## --runasdaemon 1 on the command line. This is ignored on Windows;
  6. ## see the FAQ entry if you want Tor to run as an NT service.
  7. -#RunAsDaemon 1
  8. +RunAsDaemon 1
  9. ## The directory for keeping all the keys/etc. By default, we store
  10. ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
  11. -#DataDirectory @LOCALSTATEDIR@/lib/tor
  12. +DataDirectory @LOCALSTATEDIR@/lib/tor
  13. ## The port on which Tor will listen for local connections from Tor
  14. ## controller applications, as documented in control-spec.txt.
  15. @@ -190,3 +190,4 @@
  16. ## address manually to your friends, uncomment this line:
  17. #PublishServerDescriptor 0
  18. +User tor