Ticket #18361: org.torproject.tor.plist

File org.torproject.tor.plist, 645 bytes (added by cilly@…, 11 years ago)

A sample LaunchDaemon which works for me. (/usr/local)

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5        <key>Disabled</key>
6        <true/>
7        <key>Label</key>
8        <string>org.torproject.tor</string>
9        <key>OnDemand</key>
10        <false/>
11        <key>ProgramArguments</key>
12        <array>
13                <string>/usr/local/bin/tor</string>
14                <string>-f</string>
15                <string>/usr/local/etc/tor/torrc</string>
16                <string>--PidFile</string>
17                <string>/var/run/tor/tor.pid</string>
18                <string>--DataDirectory</string>
19                <string>/usr/local/var/lib/tor</string>
20        </array>
21        <key>UserName</key>
22        <string>tor</string>
23</dict>
24</plist>