2004-01-13 13:40:00 +00:00
|
|
|
# Defaults for tor initscript
|
|
|
|
# sourced by /etc/init.d/tor
|
|
|
|
# installed at /etc/default/tor by the maintainer scripts
|
|
|
|
|
|
|
|
#
|
2005-11-15 10:33:54 +00:00
|
|
|
# This is a bash shell fragment
|
2004-01-13 13:40:00 +00:00
|
|
|
#
|
|
|
|
RUN_DAEMON="yes"
|
2004-03-03 12:33:40 +00:00
|
|
|
|
2005-02-02 06:20:38 +00:00
|
|
|
#
|
|
|
|
# Servers sometimes may need more than the default 1024 file descriptors
|
2008-02-20 22:28:09 +00:00
|
|
|
# if they are very busy and have many clients connected to them. The top
|
|
|
|
# servers as of early 2008 regularly have more than 10000 connected
|
|
|
|
# clients.
|
2005-02-02 06:20:38 +00:00
|
|
|
# (ulimit -n)
|
|
|
|
#
|
2008-02-20 22:28:09 +00:00
|
|
|
# (the default varies as it depends on the number of available system-wide file
|
|
|
|
# descriptors. See the init script in /etc/init.d/tor for details.)
|
|
|
|
#
|
|
|
|
# MAX_FILEDESCRIPTORS=
|
2005-02-02 06:20:38 +00:00
|
|
|
|
2005-02-04 12:25:39 +00:00
|
|
|
#
|
|
|
|
# If tor is seriously hogging your CPU, taking away too much cycles from
|
|
|
|
# other system resources, then you can renice tor. See nice(1) for a
|
|
|
|
# bit more information. Another way to limit the CPU usage of an Onion
|
|
|
|
# Router is to set a lower BandwidthRate, as CPU usage is mostly a function
|
|
|
|
# of the amount of traffic flowing through your node. Consult the torrc(5)
|
|
|
|
# manual page for more information on setting BandwidthRate.
|
|
|
|
#
|
|
|
|
# NICE="--nicelevel 5"
|
|
|
|
|
2005-11-15 10:30:36 +00:00
|
|
|
# Additional arguments to pass on tor's command line.
|
2005-02-03 11:20:56 +00:00
|
|
|
#
|
2005-11-15 10:30:36 +00:00
|
|
|
# ARGS=""
|
2005-02-03 11:20:56 +00:00
|
|
|
|
2004-03-03 12:33:40 +00:00
|
|
|
#
|
|
|
|
# Uncomment this if you want to get coredumps
|
|
|
|
#
|
2004-08-06 22:36:07 +00:00
|
|
|
ulimit -c unlimited
|