소스 검색

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

svn:r2777
Roger Dingledine 20 년 전
부모
커밋
c549be0815
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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