baa-conductor

git clone 

baa-conductor / ops / launchd
im_wower  ·  2026-03-25

so.makefile.baa-worker-runner.plist

 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  Source template kept in the repo.
 5  Defaults target the mini node and share the same runtime tree as conductor.
 6  Use scripts/runtime/install-launchd.sh to render the actual install copy.
 7  worker-runner follows the canonical local-api variables and no longer carries
 8  BAA_CONTROL_API_BASE in launchd.
 9  Adjust BAA_SHARED_TOKEN and runtime paths before copying the file into the
10  launchd install path.
11-->
12<plist version="1.0">
13  <dict>
14    <key>Label</key>
15    <string>so.makefile.baa-worker-runner</string>
16
17    <key>WorkingDirectory</key>
18    <string>/Users/george/code/baa-conductor</string>
19
20    <key>EnvironmentVariables</key>
21    <dict>
22      <key>PATH</key>
23      <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/george/.local/bin:/Users/george/bin</string>
24      <key>HOME</key>
25      <string>/Users/george</string>
26      <key>LANG</key>
27      <string>en_US.UTF-8</string>
28      <key>LC_ALL</key>
29      <string>en_US.UTF-8</string>
30      <key>BAA_CONDUCTOR_HOST</key>
31      <string>mini</string>
32      <key>BAA_CONDUCTOR_ROLE</key>
33      <string>primary</string>
34      <key>BAA_CONDUCTOR_LOCAL_API</key>
35      <string>http://100.71.210.78:4317</string>
36      <key>BAA_CONDUCTOR_LOCAL_API_ALLOWED_HOSTS</key>
37      <string>100.71.210.78</string>
38      <key>BAA_RUNS_DIR</key>
39      <string>/Users/george/code/baa-conductor/runs</string>
40      <key>BAA_WORKTREES_DIR</key>
41      <string>/Users/george/code/baa-conductor/worktrees</string>
42      <key>BAA_LOGS_DIR</key>
43      <string>/Users/george/code/baa-conductor/logs</string>
44      <key>BAA_TMP_DIR</key>
45      <string>/Users/george/code/baa-conductor/tmp</string>
46      <key>BAA_STATE_DIR</key>
47      <string>/Users/george/code/baa-conductor/state</string>
48      <key>BAA_NODE_ID</key>
49      <string>mini-main</string>
50      <key>BAA_SHARED_TOKEN</key>
51      <string>replace-me</string>
52    </dict>
53
54    <key>ProgramArguments</key>
55    <array>
56      <string>/usr/bin/env</string>
57      <string>node</string>
58      <string>/Users/george/code/baa-conductor/apps/worker-runner/dist/index.js</string>
59    </array>
60
61    <key>ProcessType</key>
62    <string>Background</string>
63    <key>RunAtLoad</key>
64    <true/>
65    <key>KeepAlive</key>
66    <true/>
67    <key>ThrottleInterval</key>
68    <integer>10</integer>
69    <key>StandardOutPath</key>
70    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-worker-runner.out.log</string>
71    <key>StandardErrorPath</key>
72    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-worker-runner.err.log</string>
73  </dict>
74</plist>