mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
hack the tor.sh so it uses the new log format even on the command-line
svn:r2777
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user