浏览代码

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