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

satisfy the requirement of a ProgramArgument array


svn:r6755
This commit is contained in:
Andrew Lewman 2006-07-11 20:51:06 +00:00
parent 4f6cd129c9
commit 3388722c28

View file

@ -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>