| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?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.django</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 django
- </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-django.log</string>
- <key>StandardErrorPath</key>
- <string>/tmp/hungryroot-django.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>
|