aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>