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

[or-cvs] r14147: Add a launchd plist for those wishing for launchd rather tha (tor/trunk/contrib/osx)



Author: phobos
Date: 2008-03-21 09:31:16 -0400 (Fri, 21 Mar 2008)
New Revision: 14147

Added:
   tor/trunk/contrib/osx/org.torproject.tor.plist
Log:
Add a launchd plist for those wishing for launchd rather than a
startupitem.


Added: tor/trunk/contrib/osx/org.torproject.tor.plist
===================================================================
--- tor/trunk/contrib/osx/org.torproject.tor.plist	                        (rev 0)
+++ tor/trunk/contrib/osx/org.torproject.tor.plist	2008-03-21 13:31:16 UTC (rev 14147)
@@ -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>