diff options
author | Andrew Lewman <andrew@torproject.org> | 2006-07-11 04:27:12 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2006-07-11 04:27:12 +0000 |
commit | 546d07bc6707bf1bfead0118b5110565683a5432 (patch) | |
tree | df0eb1b17e609b25fc548904f13a1537093c0713 | |
parent | c32e19b4ed62ef9609c35d4bd94654f2f9550dbf (diff) | |
download | tor-546d07bc6707bf1bfead0118b5110565683a5432.tar tor-546d07bc6707bf1bfead0118b5110565683a5432.tar.gz |
First crack at launchd plist for Tor
svn:r6753
-rw-r--r-- | contrib/osx/net.freehaven.tor.plist.in | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/contrib/osx/net.freehaven.tor.plist.in b/contrib/osx/net.freehaven.tor.plist.in new file mode 100644 index 000000000..1637a361f --- /dev/null +++ b/contrib/osx/net.freehaven.tor.plist.in @@ -0,0 +1,38 @@ +<?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>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> |