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
|
|
|
|
|
|
|
|
#
|
2005-11-15 11:33:54 +01:00
|
|
|
# This is a bash shell fragment
|
2004-01-13 14:40:00 +01:00
|
|
|
#
|
|
|
|
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-04 13:25:39 +01: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 11:30:36 +01:00
|
|
|
# Additional arguments to pass on tor's command line.
|
2005-02-03 12:20:56 +01:00
|
|
|
#
|
2005-11-15 11:30:36 +01:00
|
|
|
# ARGS=""
|
2005-02-03 12:20:56 +01:00
|
|
|
|
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
|