diff options
author | Andrew Lewman <andrew@torproject.org> | 2008-03-30 00:51:25 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2008-03-30 00:51:25 +0000 |
commit | e1ad6b4ad3f2454836609ab3bd3b77b19ad25a44 (patch) | |
tree | 720768766f4dd4c7f50aacde45926481ec6074e3 | |
parent | 007a10886cbe9bd245c4c76fab7078af9da6df0f (diff) | |
download | tor-e1ad6b4ad3f2454836609ab3bd3b77b19ad25a44.tar.gz tor-e1ad6b4ad3f2454836609ab3bd3b77b19ad25a44.zip |
Backport the launchd definition file for those wishing to use launchd
instead of /Library/StartupItems or Vidalia.
svn:r14237
-rw-r--r-- | contrib/osx/org.torproject.tor.plist | 26 |
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> |