[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Make OS X package actually try to log things to the nice lo...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] Make OS X package actually try to log things to the nice lo...
- From: nickm@xxxxxxxx (Nick Mathewson)
- Date: Fri, 18 Mar 2005 16:58:55 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 18 Mar 2005 16:59:52 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home/or/cvsroot/tor/contrib/osx
In directory moria.mit.edu:/tmp/cvs-serv29100/contrib/osx
Modified Files:
Tor
Log Message:
Make OS X package actually try to log things to the nice log directory we gave it.
Index: Tor
===================================================================
RCS file: /home/or/cvsroot/tor/contrib/osx/Tor,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Tor 5 Jan 2005 02:46:25 -0000 1.2
+++ Tor 18 Mar 2005 21:58:52 -0000 1.3
@@ -6,6 +6,7 @@
TORUSER=_tor
TORGROUP=daemon
TORCMD=/Library/Tor/tor
+TORLOG=/var/log/tor/tor.log
##
# Tor Service
@@ -24,7 +25,7 @@
# 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
}