github.com/stevenmatthewt/agent@v3.5.4+incompatible/templates/launchd.plist (about) 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 <!-- 4 A launchd config for loading buildkite-agent on system boot on OS X 5 systems, and runs without GUI (which starts on system boot, but doesn't allow Xcode UI testing) 6 --> 7 <plist version="1.0"> 8 <dict> 9 <key>Label</key> 10 <string>com.buildkite.buildkite-agent</string> 11 12 <key>UserName</key> 13 <string>your-build-user</string> 14 15 <key>ProgramArguments</key> 16 <array> 17 <string>/Users/your-build-user/.buildkite-agent/bin/buildkite-agent</string> 18 <string>start</string> 19 <!-- <string>--debug</string> --> 20 </array> 21 22 <key>KeepAlive</key> 23 <dict> 24 <key>SuccessfulExit</key> 25 <false/> 26 </dict> 27 28 <key>RunAtLoad</key> 29 <true/> 30 31 <key>OnDemand</key> 32 <false/> 33 34 <key>ProcessType</key> 35 <string>Interactive</string> 36 37 <key>SessionCreate</key> 38 <true/> 39 40 <key>ThrottleInterval</key> 41 <integer>30</integer> 42 43 <key>StandardOutPath</key> 44 <string>/Users/your-build-user/.buildkite-agent/log/buildkite-agent.log</string> 45 46 <key>StandardErrorPath</key> 47 <string>/Users/your-build-user/.buildkite-agent/log/buildkite-agent.log</string> 48 49 <key>EnvironmentVariables</key> 50 <dict> 51 <key>PATH</key> 52 <string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin</string> 53 54 <key>BUILDKITE_AGENT_CONFIG</key> 55 <string>/Users/your-build-user/.buildkite-agent/buildkite-agent.cfg</string> 56 </dict> 57 </dict> 58 </plist>