[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] hack the tor.sh so it uses the new log format even on the c...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] hack the tor.sh so it uses the new log format even on the c...
- From: arma@seul.org (Roger Dingledine)
- Date: Tue, 9 Nov 2004 22:37:09 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 09 Nov 2004 22:37:27 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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