← back to Discontinued Agent
com.steve.discontinued-agent.plist
42 lines
<?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>
<key>Label</key>
<string>com.steve.discontinued-agent</string>
<!-- Runs the poller, which internally loops every POLL_INTERVAL_SEC (default 10s). -->
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/node</string>
<string>--env-file=/Users/macstudio3/Projects/discontinued-agent/.env</string>
<string>/Users/macstudio3/Projects/discontinued-agent/poller.js</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/macstudio3/Projects/discontinued-agent</string>
<!-- KeepAlive: respawn if it ever exits. -->
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<!-- Throttle respawn so a crash-loop doesn't hammer George / FileMaker. -->
<key>ThrottleInterval</key>
<integer>30</integer>
<key>StandardOutPath</key>
<string>/Users/macstudio3/Projects/discontinued-agent/data/agent.out.log</string>
<key>StandardErrorPath</key>
<string>/Users/macstudio3/Projects/discontinued-agent/data/agent.err.log</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
</dict>
</dict>
</plist>