]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
hack the tor.sh so it uses the new log format even on the command-line
authorRoger Dingledine <arma@torproject.org>
Wed, 10 Nov 2004 03:37:06 +0000 (03:37 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 10 Nov 2004 03:37:06 +0000 (03:37 +0000)
svn:r2777

contrib/tor.sh.in

index 642cd41fabcfe4277ab8c11fcafc499ba9606d19..4fccd2479bf55bee93860ec748ce89948167a521 100644 (file)
@@ -15,7 +15,7 @@ TORDATA=@LOCALSTATEDIR@/lib/tor
 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