]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix documentation of torrc search order
authorNick Mathewson <nickm@torproject.org>
Thu, 27 Mar 2014 18:58:46 +0000 (14:58 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 2 Apr 2014 00:56:03 +0000 (20:56 -0400)
We are searching @CONFDIR@ before $HOME, but the documentation
implied otherwise.

I screwed this up in f5e86bcd6c06d43ff3af5acd8135bd8b577bc3, when I
first documented the $HOME/.torrc possibility.

Fix for bug 9213; bugfix on 0.2.3.18-rc.

changes/bug9213_doc [new file with mode: 0644]
doc/tor.1.txt

diff --git a/changes/bug9213_doc b/changes/bug9213_doc
new file mode 100644 (file)
index 0000000..2f959dd
--- /dev/null
@@ -0,0 +1,5 @@
+  o Documentation:
+    - Correctly document that we search for a system torrc file before
+      looking in ~/.torrc. Fixes documentation side of 9213; bugfix
+      on 0.2.3.18-rc.
+
index 3f8f6da03698959d1dc9d1d971cefff5b9432b6f..eb9ad6770aa60e961def892c5c48a988a3c4bada 100644 (file)
@@ -37,7 +37,7 @@ COMMAND-LINE OPTIONS
 
 [[opt-f]] **-f** __FILE__::
     Specify a new configuration file to contain further Tor configuration
-    options. (Default: $HOME/.torrc, or @CONFDIR@/torrc if that file is not
+    options. (Default: @CONFDIR@/torrc, or $HOME/.torrc if that file is not
     found)
 
 [[opt-defaults-torrc]] **--defaults-torrc** __FILE__::
@@ -2103,6 +2103,9 @@ FILES
 **@CONFDIR@/torrc**::
     The configuration file, which contains "option value" pairs.
 
+**$HOME/.torrc**::
+    Fallback location for torrc, if @CONFDIR@/torrc is not found.
+
 **@LOCALSTATEDIR@/lib/tor/**::
     The tor process stores keys and other data here.