|
|
@@ -0,0 +1,49 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
|
|
|
+ "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
|
+<plist version="1.0">
|
|
|
+<dict>
|
|
|
+ <!-- A unique label -->
|
|
|
+ <key>Label</key>
|
|
|
+ <string>com.hungryroot.celery</string>
|
|
|
+
|
|
|
+ <!-- Use bash to allow `cd &&` -->
|
|
|
+ <key>ProgramArguments</key>
|
|
|
+ <array>
|
|
|
+ <string>/bin/bash</string>
|
|
|
+ <string>-lc</string>
|
|
|
+ <string>
|
|
|
+ cd /Users/colin.powell/src/github.com/hungryroot/hungryroot \
|
|
|
+ && eval "$(direnv export bash)" \
|
|
|
+ && just celery
|
|
|
+ </string>
|
|
|
+ </array>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- Run when the agent is loaded -->
|
|
|
+ <key>RunAtLoad</key>
|
|
|
+ <true/>
|
|
|
+
|
|
|
+ <!-- Optional: restart if it exits -->
|
|
|
+ <key>KeepAlive</key>
|
|
|
+ <true/>
|
|
|
+
|
|
|
+ <!-- Set a working directory explicitly (recommended) -->
|
|
|
+ <key>WorkingDirectory</key>
|
|
|
+ <string>/Users/colin.powell/src/github.com/hungryroot/hungryroot</string>
|
|
|
+
|
|
|
+ <!-- Log output -->
|
|
|
+ <key>StandardOutPath</key>
|
|
|
+ <string>/tmp/hungryroot-celery.log</string>
|
|
|
+ <key>StandardErrorPath</key>
|
|
|
+ <string>/tmp/hungryroot-celery.log</string>
|
|
|
+
|
|
|
+ <!-- Ensure PATH includes Homebrew -->
|
|
|
+ <key>EnvironmentVariables</key>
|
|
|
+ <dict>
|
|
|
+ <key>PATH</key>
|
|
|
+ <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
|
|
|
+ </dict>
|
|
|
+</dict>
|
|
|
+</plist>
|
|
|
+
|