$OpenBSD: patch-src_config_torrc_sample_in,v 1.5 2007/07/23 16:34:22 rui Exp $
--- src/config/torrc.sample.in.orig	Fri May 25 01:51:41 2007
+++ src/config/torrc.sample.in	Mon Jul 23 11:10:44 2007
@@ -43,18 +43,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.
@@ -142,3 +142,6 @@ 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
