$OpenBSD: patch-src_config_torrc_sample_in,v 1.7 2008/09/19 21:51:00 rui Exp $
--- src/config/torrc.sample.in.orig	Tue Feb 26 19:56:28 2008
+++ src/config/torrc.sample.in	Tue Aug  5 10:41:00 2008
@@ -37,18 +37,18 @@ SocksListenAddress 127.0.0.1 # accept connections only
 ## Send every possible message to @LOCALSTATEDIR@/log/tor/debug.log
 #Log debug file @LOCALSTATEDIR@/log/tor/debug.log
 ## Use the system log instead of Tor's logfiles
-#Log notice syslog
+Log notice syslog
 ## To send all messages to stderr:
 #Log debug stderr
 
 ## Uncomment this to start the process in the background... or use
 ## --runasdaemon 1 on the command line. This is ignored on Windows;
 ## see the FAQ entry if you want Tor to run as an NT service.
-#RunAsDaemon 1
+RunAsDaemon 1
 
 ## 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/tor
 
 ## The port on which Tor will listen for local connections from Tor
 ## controller applications, as documented in control-spec.txt.
@@ -134,6 +134,9 @@ SocksListenAddress 127.0.0.1 # accept connections only
 #ExitPolicy accept *:119 # accept nntp as well as default exit policy
 #ExitPolicy reject *:* # no exits allowed
 #
+## Revoke privileges
+User _tor
+Group _tor
 ################ This section is just for bridge relays ##############
 #
 ## Bridge relays (or "bridges" ) are Tor relays that aren't listed in the
