[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Make OS X package actually try to log things to the nice lo...



Update of /home/or/cvsroot/tor/contrib/osx
In directory moria.mit.edu:/tmp/cvs-serv29100/contrib/osx

Modified Files:
	Tor 
Log Message:
Make OS X package actually try to log things to the nice log directory we gave it.

Index: Tor
===================================================================
RCS file: /home/or/cvsroot/tor/contrib/osx/Tor,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Tor	5 Jan 2005 02:46:25 -0000	1.2
+++ Tor	18 Mar 2005 21:58:52 -0000	1.3
@@ -6,6 +6,7 @@
 TORUSER=_tor
 TORGROUP=daemon
 TORCMD=/Library/Tor/tor
+TORLOG=/var/log/tor/tor.log
 
 ##
 # Tor Service
@@ -24,7 +25,7 @@
 # Tentative
 # Making sure it is not running (I know it is not a best approarch)
 		killall tor 2>/dev/null
-		$TORCMD -f $TORCONF --runasdaemon 1 --pidfile $TORPID --datadirectory $TORDIR --user $TORUSER --group $TORGROUP &
+		$TORCMD -f $TORCONF --runasdaemon 1 --pidfile $TORPID --datadirectory $TORDIR --user $TORUSER --group $TORGROUP --log "notice file $TORLOG" &
 	fi
     fi
 }