]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make OS X package actually try to log things to the nice log directory we gave it.
authorNick Mathewson <nickm@torproject.org>
Fri, 18 Mar 2005 21:58:52 +0000 (21:58 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 18 Mar 2005 21:58:52 +0000 (21:58 +0000)
svn:r3776

contrib/osx/Tor

index 0752b85c5886a6db411a5b76f06a6c4e61cb5e32..ba2b1418d04cfb04320f0d5d8dc777498df7d6bc 100755 (executable)
@@ -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
 }