|
@@ -6,6 +6,7 @@ TORPID=/var/run/Tor.pid
|
|
|
TORUSER=_tor
|
|
|
TORGROUP=daemon
|
|
|
TORCMD=/Library/Tor/tor
|
|
|
+TORLOG=/var/log/tor/tor.log
|
|
|
|
|
|
##
|
|
|
# Tor Service
|
|
@@ -24,7 +25,7 @@ StartService ()
|
|
|
# Tentative
|
|
|
# Making sure it is not running (I know it is not a best approarch)
|
|
|
killall tor 2>/dev/null
|
|
|
- $TORCMD -f $TORCONF --runasdaemon 1 --pidfile $TORPID --datadirectory $TORDIR --user $TORUSER --group $TORGROUP &
|
|
|
+ $TORCMD -f $TORCONF --runasdaemon 1 --pidfile $TORPID --datadirectory $TORDIR --user $TORUSER --group $TORGROUP --log "notice file $TORLOG" &
|
|
|
fi
|
|
|
fi
|
|
|
}
|