If "with-dmalloc" is in DEB_BUILD_OPTIONS we build against libdmalloc4.
[tor.git] / debian / tor.default
blob6b72d40c0a8113be02cb96b6075fa31cee07f653
1 # Defaults for tor initscript
2 # sourced by /etc/init.d/tor
3 # installed at /etc/default/tor by the maintainer scripts
6 # This is a POSIX shell fragment
8 RUN_DAEMON="yes"
11 # Servers sometimes may need more than the default 1024 file descriptors
12 # if they are very busy and have many clients connected to them.
13 #  (ulimit -n)
15 MAX_FILEDESCRIPTORS=4096
18 # If tor is seriously hogging your CPU, taking away too much cycles from
19 # other system resources, then you can renice tor.  See nice(1) for a
20 # bit more information.  Another way to limit the CPU usage of an Onion
21 # Router is to set a lower BandwidthRate, as CPU usage is mostly a function
22 # of the amount of traffic flowing through your node.  Consult the torrc(5)
23 # manual page for more information on setting BandwidthRate.
25 # NICE="--nicelevel 5"
28 # Sometimes epoll is broken.  This happens to be the case on
29 # at least the maintainer's desktop box running Linux 2.6.11-rc1
30 # on adm64.
32 # If tor does not work at all for you, i.e. connection attempts
33 # through tor just hang forever and never finish, then consider
34 # setting EVENT_NOEPOLL, so libevent does not use epoll.  If that
35 # happens to fix it for you, please let the mainainer (weasel@debian.org)
36 # know, mentioning your kernel version, libevent version, and architecture.
37 # Thanks!
39 # EVENT_NOEPOLL=yes
40 # export EVENT_NOEPOLL
43 # Uncomment this if you want to get coredumps
45 ulimit -c unlimited