/[gentoo-x86]/net-misc/tor/files/torrc.sample.patch
Gentoo

Contents of /net-misc/tor/files/torrc.sample.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Aug 30 13:57:42 2011 UTC (3 years, 6 months ago) by blueness
Branch: MAIN
Change logging to syslog, add sanity check for /var/run/tor, bug #380117

(Portage version: 2.1.10.11/cvs/Linux x86_64)

1 diff -Nuar tor-0.2.2.32.orig/src/config/torrc.sample.in tor-0.2.2.32/src/config/torrc.sample.in
2 --- tor-0.2.2.32.orig/src/config/torrc.sample.in 2011-08-29 23:13:09.000000000 -0400
3 +++ tor-0.2.2.32/src/config/torrc.sample.in 2011-08-29 23:14:19.000000000 -0400
4 @@ -12,6 +12,10 @@
5 ## Tor will look for this file in various places based on your platform:
6 ## https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#torrc
7
8 +## Default username and group the server will run as
9 +User tor
10 +
11 +PIDFile /var/run/tor/tor.pid
12
13 ## Replace this with "SocksPort 0" if you plan to run Tor only as a
14 ## relay, and not make any local application connections yourself.
15 @@ -40,6 +44,7 @@
16 #Log notice syslog
17 ## To send all messages to stderr:
18 #Log debug stderr
19 +Log notice syslog
20
21 ## Uncomment this to start the process in the background... or use
22 ## --runasdaemon 1 on the command line. This is ignored on Windows;
23 @@ -49,6 +54,7 @@
24 ## The directory for keeping all the keys/etc. By default, we store
25 ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
26 #DataDirectory @LOCALSTATEDIR@/lib/tor
27 +DataDirectory /var/lib/tor/data
28
29 ## The port on which Tor will listen for local connections from Tor
30 ## controller applications, as documented in control-spec.txt.

  ViewVC Help
Powered by ViewVC 1.1.20