2004-01-13 14:40:00 +01:00
|
|
|
# Defaults for tor initscript
|
|
|
|
# sourced by /etc/init.d/tor
|
|
|
|
# installed at /etc/default/tor by the maintainer scripts
|
|
|
|
|
|
|
|
#
|
|
|
|
# This is a POSIX shell fragment
|
|
|
|
#
|
|
|
|
RUN_DAEMON="yes"
|
2004-03-03 13:33:40 +01:00
|
|
|
|
2005-02-02 07:20:38 +01:00
|
|
|
#
|
|
|
|
# Servers sometimes may need more than the default 1024 file descriptors
|
|
|
|
# if they are very busy and have many clients connected to them.
|
|
|
|
# (ulimit -n)
|
|
|
|
#
|
|
|
|
MAX_FILEDESCRIPTORS=4096
|
|
|
|
|
2005-02-03 12:20:56 +01:00
|
|
|
#
|
|
|
|
# Sometimes epoll is broken. This happens to be the case on
|
|
|
|
# at least the maintainer's desktop box running Linux 2.6.11-rc1
|
|
|
|
# on adm64.
|
|
|
|
#
|
|
|
|
# If tor does not work at all for you, i.e. connection attempts
|
|
|
|
# through tor just have forever and never finish, then consider
|
|
|
|
# setting EVENT_NOEPOLL, so libevent does not use epoll. If that
|
|
|
|
# happens to fix it for you, please let the mainainer (weasel@debian.org)
|
|
|
|
# know, mentioning your kernel version, libevent version, and architecture.
|
|
|
|
# Thanks!
|
|
|
|
#
|
|
|
|
# EVENT_NOEPOLL=yes
|
|
|
|
# export EVENT_NOEPOLL
|
|
|
|
|
2004-03-03 13:33:40 +01:00
|
|
|
#
|
|
|
|
# Uncomment this if you want to get coredumps
|
|
|
|
#
|
2004-08-07 00:36:07 +02:00
|
|
|
ulimit -c unlimited
|