mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
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:
parent
4f6cd129c9
commit
3388722c28
1 changed files with 2 additions and 13 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue