From 52070e0f95e8419fcd12348a0a015464d6eec916 Mon Sep 17 00:00:00 2001
From: Jamie Nguyen <j@jamielinux.com>
Date: Fri, 11 Dec 2015 12:22:38 +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 bde800f..4e79806 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 /var/run/tor/control
+CookieAuthentication 1
+CookieAuthFile /var/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