[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r14237: Backport the launchd definition file for those wishing to us (tor/branches/tor-0_2_0-patches/contrib/osx)



Author: phobos
Date: 2008-03-29 20:51:25 -0400 (Sat, 29 Mar 2008)
New Revision: 14237

Added:
   tor/branches/tor-0_2_0-patches/contrib/osx/org.torproject.tor.plist
Log:
Backport the launchd definition file for those wishing to use launchd
instead of /Library/StartupItems or Vidalia.


Added: tor/branches/tor-0_2_0-patches/contrib/osx/org.torproject.tor.plist
===================================================================
--- tor/branches/tor-0_2_0-patches/contrib/osx/org.torproject.tor.plist	                        (rev 0)
+++ tor/branches/tor-0_2_0-patches/contrib/osx/org.torproject.tor.plist	2008-03-30 00:51:25 UTC (rev 14237)
@@ -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>