Commit 3388722c authored by Andrew Lewman's avatar Andrew Lewman
Browse files

Move cmd line parameters into the config file, remove chroot, and

satisfy the requirement of a ProgramArgument array


svn:r6755
parent 4f6cd129
...@@ -9,23 +9,15 @@ ...@@ -9,23 +9,15 @@
<string>/Library/Tor/tor</string> <string>/Library/Tor/tor</string>
<key>ProgramArguments</key> <key>ProgramArguments</key>
<!-- The following array parameters should be set in the config file, not here -->
<array> <array>
<string>--runasdaemon</string> <string>tor</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> </array>
<key>UserName</key> <key>UserName</key>
<string>_tor</string> <string>_tor</string>
<key>GroupName</key> <key>GroupName</key>
<string>_tor</string> <string>daemon</string>
<key>OnDemand</key> <key>OnDemand</key>
<false/> <false/>
...@@ -33,9 +25,6 @@ ...@@ -33,9 +25,6 @@
<key>RunAtLoad</key> <key>RunAtLoad</key>
<true/> <true/>
<key>RootDirectory</key>
<string>/Library/Tor/</string>
<key>ServiceDescription</key> <key>ServiceDescription</key>
<string>Tor @VERSION@ http://tor.eff.org</string> <string>Tor @VERSION@ http://tor.eff.org</string>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment