-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathnet.chaosnet.cbridge.plist
50 lines (44 loc) · 1.63 KB
/
net.chaosnet.cbridge.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
<?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">
<!-- To install do:
cp cbridge.launchd ~/Library/LaunchAgents/net.chaosnet.cbridge.plist
launchctl load -w ~/Library/LaunchAgents/net.chaosnet.cbridge.plist
To disable (permanently, see the -w option to launchctl):
launchctl unload -w ~/Library/LaunchAgents/net.chaosnet.cbridge.plist
To restart, do unload followed by load
-->
<plist version="1.0">
<dict>
<key>Label</key>
<string>net.chaosnet.cbridge</string>
<!-- This makes ~ work in program arguments -->
<key>EnableGlobbing</key>
<true/>
<!-- #### Edit this as appropriate -->
<key>WorkingDirectory</key>
<string>/Users/victor/chaosnet-bridge</string>
<key>Program</key>
<string>/Users/victor/chaosnet-bridge/cbridge</string>
<!-- #### Edit this as appropriate -->
<!-- NOTE that this is argv, including argv[0] -->
<key>ProgramArguments</key>
<array>
<string>cbridge</string>
<!-- <string>-v</string> -->
<!-- <string>-c</string> -->
<!-- <string>cbridge.conf</string> -->
</array>
<!-- Start it on "load" -->
<key>RunAtLoad</key>
<true/>
<!-- Don't keep it alive: if it crashes you should debug it -->
<key>KeepAlive</key>
<false/>
<!-- Put output somewhere -->
<!-- #### Edit this as appropriate -->
<key>StandardOutPath</key>
<string>/Users/victor/Library/Logs/cbridge.log</string>
<key>StandardErrorPath</key>
<string>/Users/victor/Library/Logs/cbridge.log</string>
</dict>
</plist>