baa-conductor

git clone 

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

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  For mac, change BAA_CONDUCTOR_HOST, BAA_CONDUCTOR_ROLE, BAA_NODE_ID,
 8  BAA_SHARED_TOKEN, and keep the CLI args aligned with those values.
 9  If this file is installed under /Library/LaunchDaemons, add UserName and keep
10  every path absolute; launchd will not read shell rc files for you.
11-->
12<plist version="1.0">
13  <dict>
14    <key>Label</key>
15    <string>so.makefile.baa-conductor</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_CONTROL_API_BASE</key>
35      <string>https://control-api.makefile.so</string>
36      <key>BAA_CONDUCTOR_LOCAL_API</key>
37      <string>http://127.0.0.1:4317</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/conductor-daemon/dist/index.js</string>
59      <string>--host</string>
60      <string>mini</string>
61      <string>--role</string>
62      <string>primary</string>
63    </array>
64
65    <key>ProcessType</key>
66    <string>Background</string>
67    <key>RunAtLoad</key>
68    <true/>
69    <key>KeepAlive</key>
70    <true/>
71    <key>ThrottleInterval</key>
72    <integer>10</integer>
73    <key>StandardOutPath</key>
74    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-conductor.out.log</string>
75    <key>StandardErrorPath</key>
76    <string>/Users/george/code/baa-conductor/logs/launchd/so.makefile.baa-conductor.err.log</string>
77  </dict>
78</plist>