Browse Source

Add in start parameters. Perhaps we should ship these set correct in
the default torrc.


svn:r6754

Andrew Lewman 19 years ago
parent
commit
4f6cd129c9
1 changed files with 13 additions and 0 deletions
  1. 13 0
      contrib/osx/net.freehaven.tor.plist.in

+ 13 - 0
contrib/osx/net.freehaven.tor.plist.in

@@ -8,6 +8,19 @@
 	<key>Program</key>
 	<key>Program</key>
 	<string>/Library/Tor/tor</string>
 	<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>
 	<key>UserName</key>
 	<string>_tor</string>
 	<string>_tor</string>