aboutsummaryrefslogtreecommitdiff
path: root/contrib/osx
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-11 20:51:06 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-11 20:51:06 +0000
commit3388722c28366cd0679cec3ae54fa1ab5b62d046 (patch)
tree8958f1bca13d6a617f92bb868b78086a09a3c6e9 /contrib/osx
parent4f6cd129c9296d91715ca808b225c00f55bcc001 (diff)
downloadtor-3388722c28366cd0679cec3ae54fa1ab5b62d046.tar
tor-3388722c28366cd0679cec3ae54fa1ab5b62d046.tar.gz
Move cmd line parameters into the config file, remove chroot, and
satisfy the requirement of a ProgramArgument array svn:r6755
Diffstat (limited to 'contrib/osx')
-rw-r--r--contrib/osx/net.freehaven.tor.plist.in15
1 files changed, 2 insertions, 13 deletions
diff --git a/contrib/osx/net.freehaven.tor.plist.in b/contrib/osx/net.freehaven.tor.plist.in
index 03633a8fa..79ebf38b0 100644
--- a/contrib/osx/net.freehaven.tor.plist.in
+++ b/contrib/osx/net.freehaven.tor.plist.in
@@ -9,23 +9,15 @@
<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>
+ <string>tor</string>
</array>
<key>UserName</key>
<string>_tor</string>
<key>GroupName</key>
- <string>_tor</string>
+ <string>daemon</string>
<key>OnDemand</key>
<false/>
@@ -33,9 +25,6 @@
<key>RunAtLoad</key>
<true/>
- <key>RootDirectory</key>
- <string>/Library/Tor/</string>
-
<key>ServiceDescription</key>
<string>Tor @VERSION@ http://tor.eff.org</string>