SPB Git

Repository Public

ai.spboucher.spider.worker.plist 1.3 KB 23 lines xml

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 template for a SPIDER worker on a Mac that does not use PM2.4     Replace __HOME__ then: cp to ~/Library/LaunchAgents/ and `launchctl bootstrap gui/$(id -u) <plist>`.5     On a Mac without a graphical session, install it as a LaunchDaemon with UserName instead. -->6<plist version="1.0">7<dict>8  <key>Label</key><string>ai.spboucher.spider.worker</string>9  <key>ProgramArguments</key>10  <array><string>/bin/bash</string><string>__HOME__/apps/spider/scripts/run.sh</string><string>worker</string></array>11  <key>WorkingDirectory</key><string>__HOME__/apps/spider</string>12  <key>EnvironmentVariables</key>13  <dict><key>SPIDER_CAPABILITIES</key><string>http,browser,ocr</string></dict>14  <key>RunAtLoad</key><true/>15  <key>KeepAlive</key><dict><key>SuccessfulExit</key><false/></dict>16  <key>ThrottleInterval</key><integer>10</integer>17  <key>ExitTimeOut</key><integer>75</integer>18  <key>ProcessType</key><string>Background</string>19  <key>StandardOutPath</key><string>__HOME__/Library/Logs/spider-worker.log</string>20  <key>StandardErrorPath</key><string>__HOME__/Library/Logs/spider-worker.log</string>21</dict>22</plist>23
Files main
Menu

Theme