-
Notifications
You must be signed in to change notification settings - Fork 303
/
Copy pathlaunchd.plist
67 lines (54 loc) · 1.74 KB
/
launchd.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
56
57
58
59
60
61
62
63
64
65
66
67
<?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">
<!--
A launchd config for loading buildkite-agent on system boot on OS X
systems, and runs without GUI (which starts on system boot, but doesn't allow Xcode UI testing)
-->
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.buildkite.buildkite-agent</string>
<key>UserName</key>
<string>your-build-user</string>
<key>ProgramArguments</key>
<array>
<string>/Users/your-build-user/.buildkite-agent/bin/buildkite-agent</string>
<string>start</string>
<!-- <string>--debug</string> -->
</array>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
<key>ProcessType</key>
<string>Interactive</string>
<key>SessionCreate</key>
<true/>
<key>ThrottleInterval</key>
<integer>30</integer>
<key>StandardOutPath</key>
<string>/Users/your-build-user/.buildkite-agent/log/buildkite-agent.log</string>
<key>StandardErrorPath</key>
<string>/Users/your-build-user/.buildkite-agent/log/buildkite-agent.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</string>
<key>BUILDKITE_AGENT_CONFIG</key>
<string>/Users/your-build-user/.buildkite-agent/buildkite-agent.cfg</string>
</dict>
<key>LimitLoadToSessionType</key>
<array>
<string>Aqua</string>
<string>LoginWindow</string>
<string>Background</string>
<string>StandardIO</string>
<string>System</string>
</array>
</dict>
</plist>