Blob Blame Raw
From 960992ebca360e1e7303f15f27238e34d5c0d303 Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j@jamielinux.com>
Date: Fri, 11 Dec 2015 09:50:00 +0000
Subject: [PATCH] Add ControlSocket and CookieAuthFile to torrc

---
 src/config/torrc.sample.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/config/torrc.sample.in b/src/config/torrc.sample.in
index 248cb5c..a62917d 100644
--- a/src/config/torrc.sample.in
+++ b/src/config/torrc.sample.in
@@ -12,6 +12,10 @@
 ## Tor will look for this file in various places based on your platform:
 ## https://www.torproject.org/docs/faq#torrc
 
+ControlSocket /run/tor/control
+CookieAuthentication 1
+CookieAuthFile /run/tor/control.authcookie
+
 ## Tor opens a SOCKS proxy on port 9050 by default -- even if you don't
 ## configure one below. Set "SOCKSPort 0" if you plan to run Tor only
 ## as a relay, and not make any local application connections yourself.
-- 
2.5.0