# Set the file limit rc_ulimit="-n 30000" # Configuration rc_file="/etc/tor/torrc" # Pid-file pidfile="/var/run/tor/tor.pid" # Start options as daemon tor_opts="-f \"${rc_file}\" --hush --runasdaemon 1 --pidfile \"${pidfile}\""