com.hungryroot.django.plist 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
  3. "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  4. <plist version="1.0">
  5. <dict>
  6. <!-- A unique label -->
  7. <key>Label</key>
  8. <string>com.hungryroot.django</string>
  9. <!-- Use bash to allow `cd &&` -->
  10. <key>ProgramArguments</key>
  11. <array>
  12. <string>/bin/bash</string>
  13. <string>-lc</string>
  14. <string>cd /Users/colin.powell/src/github.com/hungryroot/hungryroot &amp;&amp; eval "$(/opt/homebrew/bin/direnv export bash)" &amp;&amp; just django</string>
  15. </array>
  16. <!-- Run when the agent is loaded -->
  17. <key>RunAtLoad</key>
  18. <true/>
  19. <!-- Optional: restart if it exits -->
  20. <key>KeepAlive</key>
  21. <true/>
  22. <!-- Set a working directory explicitly (recommended) -->
  23. <key>WorkingDirectory</key>
  24. <string>/Users/colin.powell/src/github.com/hungryroot/hungryroot</string>
  25. <!-- Log output -->
  26. <key>StandardOutPath</key>
  27. <string>/tmp/hungryroot-django.log</string>
  28. <key>StandardErrorPath</key>
  29. <string>/tmp/hungryroot-django.log</string>
  30. <!-- Ensure PATH includes Homebrew -->
  31. <key>EnvironmentVariables</key>
  32. <dict>
  33. <key>PATH</key>
  34. <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
  35. </dict>
  36. </dict>
  37. </plist>