interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / infra / ops / mac / com.aien.forge-backup-pull.plist
| 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 | <!-- Source of record: ~/work/forge/web/infra/ops/mac/ on the Spark; install steps in infra/RUNBOOK.md. |
| 4 | Not a clock job: the script waits on the Spark for a new archive (inotifywait over ssh). |
| 5 | KeepAlive restarts it after sleep, logout or a dropped connection. --> |
| 6 | <plist version="1.0"> |
| 7 | <dict> |
| 8 | <key>Label</key> |
| 9 | <string>com.aien.forge-backup-pull</string> |
| 10 | <key>ProgramArguments</key> |
| 11 | <array> |
| 12 | <string>/bin/sh</string> |
| 13 | <string>/Users/drakestapleton/.local/bin/forge-backup-pull.sh</string> |
| 14 | </array> |
| 15 | <key>RunAtLoad</key> |
| 16 | <true/> |
| 17 | <key>KeepAlive</key> |
| 18 | <true/> |
| 19 | <key>ThrottleInterval</key> |
| 20 | <integer>60</integer> |
| 21 | <key>ProcessType</key> |
| 22 | <string>Background</string> |
| 23 | <key>StandardOutPath</key> |
| 24 | <string>/Users/drakestapleton/Library/Logs/forge-backup-pull.log</string> |
| 25 | <key>StandardErrorPath</key> |
| 26 | <string>/Users/drakestapleton/Library/Logs/forge-backup-pull.log</string> |
| 27 | </dict> |
| 28 | </plist> |