aboutsummaryrefslogtreecommitdiff
path: root/contrib/osx/net.freehaven.tor.plist.in
blob: 03633a8fa17fb1334af58d3cf7b450fca0d395e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>net.freehaven.tor</string>

	<key>Program</key>
	<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>
	</array>

	<key>UserName</key>
	<string>_tor</string>

	<key>GroupName</key>
	<string>_tor</string>

	<key>OnDemand</key>
	<false/>

	<key>RunAtLoad</key>
	<true/>

	<key>RootDirectory</key>
	<string>/Library/Tor/</string>

	<key>ServiceDescription</key>
	<string>Tor @VERSION@  http://tor.eff.org</string>

	<key>LowPriorityIO</key>
	<true/>

	<key>HardResourceLimits</key>
	<dict>
	<key>NumberOfFiles</key>
	<integer>8192</integer>
	</dict>
</dict>
</plist>