tor.default 968 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Defaults for tor initscript
  2. # sourced by /etc/init.d/tor
  3. # installed at /etc/default/tor by the maintainer scripts
  4. #
  5. # This is a POSIX shell fragment
  6. #
  7. RUN_DAEMON="yes"
  8. #
  9. # Servers sometimes may need more than the default 1024 file descriptors
  10. # if they are very busy and have many clients connected to them.
  11. # (ulimit -n)
  12. #
  13. MAX_FILEDESCRIPTORS=4096
  14. #
  15. # Sometimes epoll is broken. This happens to be the case on
  16. # at least the maintainer's desktop box running Linux 2.6.11-rc1
  17. # on adm64.
  18. #
  19. # If tor does not work at all for you, i.e. connection attempts
  20. # through tor just have forever and never finish, then consider
  21. # setting EVENT_NOEPOLL, so libevent does not use epoll. If that
  22. # happens to fix it for you, please let the mainainer (weasel@debian.org)
  23. # know, mentioning your kernel version, libevent version, and architecture.
  24. # Thanks!
  25. #
  26. # EVENT_NOEPOLL=yes
  27. # export EVENT_NOEPOLL
  28. #
  29. # Uncomment this if you want to get coredumps
  30. #
  31. ulimit -c unlimited