Commit Graph

27 Commits

Author SHA1 Message Date
Peter Palfrader
ba977ed4f1 I wonder what color it will be
svn:r13628
2008-02-20 22:39:06 +00:00
Peter Palfrader
c92c5733d6 if you have more than 40k FDs on your system let Tor use up to 16k of them by default
svn:r13627
2008-02-20 22:34:44 +00:00
Peter Palfrader
644452a62f Change the default for MAX_FILEDESCRIPTORS in our init script to depend on the
number of system-wide available file descriptors: /proc/sys/fs/file-max is
bigger than 100k, set ulimit -n to 32k, if it's smaller than 20k set it to
1024.  Big servers at the moment regularly use more than 10k FDs, so our old
default of 8k no longer is sufficient.  On the other hand we don't want lower
end systems to run out of FDs on Tor's account.


svn:r13625
2008-02-20 22:28:09 +00:00
Peter Palfrader
ad37ad7508 Do not separate required lsb facilities with commas in the init script (closes:
#448001).


svn:r12231
2007-10-27 16:36:28 +00:00
Peter Palfrader
bacbf984ca Only create pid dir if we are about to start Tor (Luca Capello, closes: #447508)
svn:r12085
2007-10-21 22:12:24 +00:00
Peter Palfrader
02b9ed2455 Merge 10037:10432 into trunk, also brings in a newer trunk changelog with no real news
svn:r10433
2007-06-01 00:42:13 +00:00
Peter Palfrader
3a8647c232 r9566@galaxy: weasel | 2006-08-29 22:32:26 +0200
Unnest all those nested if blocks


svn:r8299
2006-08-29 20:43:59 +00:00
Peter Palfrader
e866702809 r9565@galaxy: weasel | 2006-08-29 22:20:38 +0200
Do not reload or start when our config is known to be broken


svn:r8298
2006-08-29 20:43:52 +00:00
Peter Palfrader
5521b5de3e Print that we're raising the ulimit to stdout in the init script.
svn:r5853
2006-01-23 15:04:03 +00:00
Peter Palfrader
979c71632d * Create /var/run/tor on init script start if it does not exist already.
* Set default ulimit -n to 8k instead of 4k in /etc/default/tor.


svn:r5852
2006-01-23 14:02:03 +00:00
Peter Palfrader
fa29f91944 Whitespace fix
svn:r5384
2005-11-15 10:36:42 +00:00
Peter Palfrader
b52c4bfe09 Use bin/bash for the init script instead of bin/sh. We are using ulimit -n
which is not POSIX  (closes: #338797).


svn:r5380
2005-11-15 10:28:00 +00:00
Peter Palfrader
e4ee8a0069 Merge 0.1.0.14+XXXX changes
svn:r5053
2005-09-14 13:05:58 +00:00
Peter Palfrader
c12d81d654 Merge debian directory from tor-0_1_0-patches to HEAD
svn:r4758
2005-08-09 13:11:00 +00:00
Peter Palfrader
5937db52ea Wait for 60 seconds in init stop. 35 is too little.
svn:r3734
2005-03-10 18:19:14 +00:00
Peter Palfrader
6e7007bfba Add a snippet to set nice level in etc/default/tor
svn:r3558
2005-02-04 12:25:39 +00:00
Peter Palfrader
0133411df9 Use SIGINT to shutdown tor
svn:r3504
2005-02-02 06:49:07 +00:00
Peter Palfrader
cbb1b33fb5 Set ulimit for file descriptors to 4096 in our init script
svn:r3501
2005-02-02 06:20:38 +00:00
Peter Palfrader
ad8e779db2 Tweak it some more
svn:r2817
2004-11-12 17:34:02 +00:00
Peter Palfrader
ecf21bda3f Change init startup script to properly deal with tor printing stuff on startup.
svn:r2816
2004-11-12 17:31:42 +00:00
Peter Palfrader
e5fd4c026c No longer use --pidfile, --logfile, and --runasdaemon command line options. Set them in the configfile instead.
svn:r2779
2004-11-10 03:42:06 +00:00
Peter Palfrader
c573b1a903 * New upstream release: Fixes another instance of that remote crash bug.
* Mention another reason why stop/reload may fail in the init script.


svn:r2020
2004-07-08 01:22:06 +00:00
Peter Palfrader
3e452fed54 Wait for tor to die in init stop. Let the user know if it doesn't
svn:r1223
2004-03-03 13:23:19 +00:00
Peter Palfrader
2849ff13e2 New upstream version. Tor stays in sbin in Debian
svn:r1137
2004-02-27 01:07:38 +00:00
Roger Dingledine
a2131d62bf move the daemon back to /usr/bin/tor
(it seems many people don't know they have a /usr/local/sbin/
damn the file system hierarchy standards)


svn:r1120
2004-02-25 06:42:20 +00:00
Roger Dingledine
265bf87a82 now the deb finds the tor binary in the right place
(right weasel?)


svn:r1083
2004-02-17 04:53:08 +00:00
Peter Palfrader
9d3cf1b4d1 First go at a debian package
svn:r987
2004-01-13 13:40:00 +00:00