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

svn:r2777
This commit is contained in:
Roger Dingledine
2004-11-10 03:37:06 +00:00
parent 45cb20359a
commit 51b9a1be81
+1 -1
View 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