blob: c048b45243a50fcab7ac868b7a0fdfae0527e5a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- src/config/torrc.sample.in.orig 2006-01-04 03:25:18.000000000 +0000
+++ src/config/torrc.sample.in 2006-01-04 03:26:45.000000000 +0000
@@ -14,6 +14,12 @@
# With the default Mac OS X installer, Tor will look in ~/.tor/torrc or
# /Library/Tor/torrc
+## Default username and group the server will run as
+User tor
+Group tor
+
+PIDFile /var/run/tor/tor.pid
+
## Replace this with "SocksPort 0" if you plan to run Tor only as a
## server, and not make any local application connections yourself.
@@ -46,6 +52,7 @@
#Log notice syslog
## To send all messages to stderr:
#Log debug stderr
+Log notice file /var/log/tor/tor.log
## Uncomment this to start the process in the background... or use
## --runasdaemon 1 on the command line.
@@ -63,6 +70,7 @@
## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
#DataDirectory @LOCALSTATEDIR@/lib/tor
+DataDirectory /var/lib/tor/data
## The port on which Tor will listen for local connections from Tor controller
## applications, as documented in control-spec.txt. NB: this feature is
|