-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoxidux.plist
55 lines (55 loc) · 1.82 KB
/
oxidux.plist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
<key>Label</key>
<string>com.jonmast.oxidux</string>
<key>ProgramArguments</key>
<array>
<string>oxidux</string>
<string>server</string>
</array>
<key>Sockets</key>
<dict>
<!-- Socket proxy server runs on -->
<key>HttpSocket</key>
<dict>
<key>SockNodeName</key>
<string>0.0.0.0</string>
<key>SockServiceName</key>
<string>80</string>
</dict>
<!-- Socket for DNS resolver -->
<key>DnsUdpSocket</key>
<dict>
<key>SockNodeName</key>
<string>0.0.0.0</string>
<key>SockServiceName</key>
<!-- This port must match the one in your /etc/resolver/test file -->
<string>6153</string>
<key>SockType</key>
<string>dgram</string>
</dict>
<!-- DNS Resolver is also accessible over TCP for good measure -->
<key>DnsTcpSocket</key>
<dict>
<key>SockNodeName</key>
<string>0.0.0.0</string>
<key>SockServiceName</key>
<string>6153</string>
<key>SockType</key>
<string>stream</string>
</dict>
</dict>
<key>StandardOutPath</key>
<!-- Insert your username in paths below -->
<string>/Users/$USERNAME/Library/Logs/oxidux.log</string>
<key>StandardErrorPath</key>
<string>/Users/$USERNAME/Library/Logs/oxidux.log</string>
</dict>
</plist>