Browse Source

hack the tor.sh so it uses the new log format even on the command-line

svn:r2777
Roger Dingledine 20 years ago
parent
commit
c549be0815
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/tor.sh.in

+ 1 - 1
contrib/tor.sh.in

@@ -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