Repository Public
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<!-- LaunchAgent (graphical session of the console user). install-worker.sh replaces __APP__ and __INSTANCE__.4 Bounded restart: launchd waits ThrottleInterval between starts; the worker itself never loops on a failed browser. -->5<plist version="1.0"><dict>6 <key>Label</key><string>ai.spboucher.maclustr-navigator-worker__SUFFIX__</string>7 <key>ProgramArguments</key><array>8 <string>/usr/bin/sudo</string><string>-n</string><string>-u</string><string>mlnav</string>9 <string>MLS_WORKER_INSTANCE=__INSTANCE__</string><string>MLS_CONTROL_INTERNAL_URL=__CONTROL__</string><string>MLS_GATEWAY_WS_URL=__GATEWAY__</string><string>MLS_HEADED=__HEADED__</string>10 <string>__APP__/infra/launchd/run-worker.sh</string>11 </array>12 <key>LimitLoadToSessionType</key><string>Aqua</string>13 <key>RunAtLoad</key><true/>14 <key>KeepAlive</key><dict><key>SuccessfulExit</key><false/></dict>15 <key>ThrottleInterval</key><integer>20</integer>16 <key>ProcessType</key><string>Interactive</string>17 <key>StandardOutPath</key><string>__LOGS__/navigator-worker__SUFFIX__.log</string>18 <key>StandardErrorPath</key><string>__LOGS__/navigator-worker__SUFFIX__.err.log</string>19</dict></plist>20