baa-conductor

git clone 

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

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