[patch-team] - tor-alpha new package - Signed-off-by: Jacob Appelbaum <jacob@appelbau...
[openwrt/svn-archive/archive.git] / net / tor-alpha / patches / 001-torrc.patch
1 --- a/src/config/torrc.sample.in 2010-11-22 19:49:38.000000000 -0800
2 +++ a/src/config/torrc.sample.in 2010-12-17 14:49:41.379893002 -0800
3 @@ -44,11 +44,11 @@
4 ## Uncomment this to start the process in the background... or use
5 ## --runasdaemon 1 on the command line. This is ignored on Windows;
6 ## see the FAQ entry if you want Tor to run as an NT service.
7 -#RunAsDaemon 1
8 +RunAsDaemon 1
9
10 ## The directory for keeping all the keys/etc. By default, we store
11 ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
12 -#DataDirectory @LOCALSTATEDIR@/lib/tor
13 +DataDirectory @LOCALSTATEDIR@/lib/tor
14
15 ## The port on which Tor will listen for local connections from Tor
16 ## controller applications, as documented in control-spec.txt.
17 @@ -168,3 +168,5 @@
18 #BridgeRelay 1
19 #ExitPolicy reject *:*
20
21 +User tor
22 +PidFile @LOCALSTATEDIR@/run/tor.pid