[or-cvs] hack the tor.sh so it uses the new log format even on the c...

Roger Dingledine arma at seul.org
Wed Nov 10 03:37:09 UTC 2004


Update of /home/or/cvsroot/contrib
In directory moria.mit.edu:/home2/arma/work/onion/cvs/contrib

Modified Files:
	tor.sh.in 
Log Message:
hack the tor.sh so it uses the new log format even on the command-line


Index: tor.sh.in
===================================================================
RCS file: /home/or/cvsroot/contrib/tor.sh.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- tor.sh.in	10 Nov 2004 01:20:17 -0000	1.6
+++ tor.sh.in	10 Nov 2004 03:37:06 -0000	1.7
@@ -15,7 +15,7 @@
 TORCONF=@CONFDIR@/torrc
 # Strictly speaking, we don't need to su if we have --user and --group.
 # "Belt and suspenders," says jbash.
-TORARGS="--pidfile $TORPID --logfile $TORLOG --runasdaemon 1 --datadirectory $TORDATA"
+TORARGS="--pidfile $TORPID --log \\"notice file $TORLOG \\" --runasdaemon 1 --datadirectory $TORDATA"
 if [ "x$TORUSER" != "x" ]; then
     TORARGS="$TORARGS --user $TORUSER"
 fi



More information about the tor-commits mailing list