aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-03-18 21:58:52 +0000
committerNick Mathewson <nickm@torproject.org>2005-03-18 21:58:52 +0000
commit71c7733154a4ee004a49f0de4e378c3a52cf377f (patch)
tree92a06b0f35ce687deb9fb76afd3d26b3a4ec5f75 /contrib
parent59653fea457a85e70858c848d73d64657e0b6de5 (diff)
downloadtor-71c7733154a4ee004a49f0de4e378c3a52cf377f.tar
tor-71c7733154a4ee004a49f0de4e378c3a52cf377f.tar.gz
Make OS X package actually try to log things to the nice log directory we gave it.
svn:r3776
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/osx/Tor3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/osx/Tor b/contrib/osx/Tor
index 0752b85c5..ba2b1418d 100755
--- a/contrib/osx/Tor
+++ b/contrib/osx/Tor
@@ -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
}