baa-conductor

git clone 

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

so.makefile.baa-conductor.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  Default values target the mini node at /Users/george/code/baa-conductor.
 6  Use scripts/runtime/install-launchd.sh to render the actual install copy.
 7  Adjust BAA_SHARED_TOKEN, BAA_CODEXD_LOCAL_API_BASE, the optional D1 sync
 8  env vars, and the listen-related variables before loading if the mini node
 9  uses a non-default address.
10  BAA_CONDUCTOR_PUBLIC_API_BASE is the canonical upstream/public API base.
11  BAA_CONTROL_API_BASE remains here only as a legacy compatibility fallback.
12  If this file is installed under /Library/LaunchDaemons, add UserName and keep
13  every path absolute; launchd will not read shell rc files for you.
14-->
15<plist version="1.0">
16  <dict>
17    <key>Label</key>
18    <string>so.makefile.baa-conductor</string>
19
20    <key>WorkingDirectory</key>
21    <string>/Users/george/code/baa-conductor</string>
22
23    <key>EnvironmentVariables</key>
24    <dict>
25      <key>PATH</key>
26      <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/george/.local/bin:/Users/george/bin</string>
27      <key>HOME</key>
28      <string>/Users/george</string>
29      <key>LANG</key>
30      <string>en_US.UTF-8</string>
31      <key>LC_ALL</key>
32      <string>en_US.UTF-8</string>
33      <key>BAA_CONDUCTOR_HOST</key>
34      <string>mini</string>
35      <key>BAA_CONDUCTOR_ROLE</key>
36      <string>primary</string>
37      <key>BAA_CONDUCTOR_PUBLIC_API_BASE</key>
38      <string>https://conductor.makefile.so</string>
39      <key>BAA_CONTROL_API_BASE</key>
40      <string>https://conductor.makefile.so</string>
41      <key>BAA_CONDUCTOR_LOCAL_API</key>
42      <string>http://100.71.210.78:4317</string>
43      <key>BAA_CONDUCTOR_LOCAL_API_ALLOWED_HOSTS</key>
44      <string>100.71.210.78</string>
45      <key>BAA_RUNS_DIR</key>
46      <string>/Users/george/code/baa-conductor/runs</string>
47      <key>BAA_WORKTREES_DIR</key>
48      <string>/Users/george/code/baa-conductor/worktrees</string>
49      <key>BAA_LOGS_DIR</key>
50      <string>/Users/george/code/baa-conductor/logs</string>
51      <key>BAA_TMP_DIR</key>
52      <string>/Users/george/code/baa-conductor/tmp</string>
53      <key>BAA_STATE_DIR</key>
54      <string>/Users/george/code/baa-conductor/state</string>
55      <key>BAA_NODE_ID</key>
56      <string>mini-main</string>
57      <key>BAA_CODEXD_LOCAL_API_BASE</key>
58      <string>http://127.0.0.1:4319</string>
59      <key>BAA_SHARED_TOKEN</key>
60      <string>replace-me</string>
61    </dict>
62
63    <key>ProgramArguments</key>
64    <array>
65      <string>/usr/bin/env</string>
66      <string>node</string>
67      <string>/Users/george/code/baa-conductor/apps/conductor-daemon/dist/index.js</string>
68      <string>--host</string>
69      <string>mini</string>
70      <string>--role</string>
71      <string>primary</string>
72    </array>
73
74    <key>ProcessType</key>
75    <string>Background</string>
76    <key>RunAtLoad</key>
77    <true/>
78    <key>KeepAlive</key>
79    <true/>
80    <key>ThrottleInterval</key>
81    <integer>10</integer>
82    <key>StandardOutPath</key>
83    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-conductor.out.log</string>
84    <key>StandardErrorPath</key>
85    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-conductor.err.log</string>
86  </dict>
87</plist>