summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2008-03-21 13:31:16 +0000
committerAndrew Lewman <andrew@torproject.org>2008-03-21 13:31:16 +0000
commite207dc00a927704a004dfae84beda818f24b6c14 (patch)
treef5b184dbed1dfb31b99bd262d21621951e73a16b /contrib
parenta117e7253c84afef6c0ce79ffd721b9531eab388 (diff)
downloadtor-e207dc00a927704a004dfae84beda818f24b6c14.tar.gz
tor-e207dc00a927704a004dfae84beda818f24b6c14.zip
Add a launchd plist for those wishing for launchd rather than a
startupitem. svn:r14147
Diffstat (limited to 'contrib')
-rw-r--r--contrib/osx/org.torproject.tor.plist26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/osx/org.torproject.tor.plist b/contrib/osx/org.torproject.tor.plist
new file mode 100644
index 0000000000..4cfab9f1b7
--- /dev/null
+++ b/contrib/osx/org.torproject.tor.plist
@@ -0,0 +1,26 @@
+<?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>org.torproject.tor</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/bin/tor</string>
+ <string>-f</string>
+ <string>/Library/Tor/torrc</string>
+ </array>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>OnDemand</key>
+ <false/>
+
+ <key>UserName</key>
+ <string>_tor</string>
+ <key>GroupName</key>
+ <string>daemon</string>
+
+</dict>
+
+</plist>