aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-11 04:37:05 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-11 04:37:05 +0000
commit4f6cd129c9296d91715ca808b225c00f55bcc001 (patch)
treea76eb060412be019e0428a1378e53cf8392a4531
parent546d07bc6707bf1bfead0118b5110565683a5432 (diff)
downloadtor-4f6cd129c9296d91715ca808b225c00f55bcc001.tar
tor-4f6cd129c9296d91715ca808b225c00f55bcc001.tar.gz
Add in start parameters. Perhaps we should ship these set correct in
the default torrc. svn:r6754
-rw-r--r--contrib/osx/net.freehaven.tor.plist.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/osx/net.freehaven.tor.plist.in b/contrib/osx/net.freehaven.tor.plist.in
index 1637a361f..03633a8fa 100644
--- a/contrib/osx/net.freehaven.tor.plist.in
+++ b/contrib/osx/net.freehaven.tor.plist.in
@@ -8,6 +8,19 @@
<key>Program</key>
<string>/Library/Tor/tor</string>
+ <key>ProgramArguments</key>
+ <!-- The following array parameters should be set in the config file, not here -->
+ <array>
+ <string>--runasdaemon</string>
+ <string>1</string>
+ <string>--pidfile</string>
+ <string>/var/run/Tor.pid</string>
+ <string>--datadirectory</string>
+ <string>/Library/Tor/var/lib/tor</string>
+ <string>--log</string>
+ <string>"notice file /var/log/tor/tor.log"</string>
+ </array>
+
<key>UserName</key>
<string>_tor</string>