mirror of
https://github.com/Sea-Haven-Industries/apm-wo-analysis.git
synced 2026-10-04 10:12:03 +00:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
|
|
<?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">
|
||
|
|
<!--
|
||
|
|
launchd agent for the apm-wo-analysis drop-folder uploader.
|
||
|
|
|
||
|
|
Install (paths must be OUTSIDE ~/Documents — macOS TCC sandbox):
|
||
|
|
cp scripts/drop_folder_upload.sh "$HOME/Library/Application Support/seahaven/apm-wo-drop/upload.sh"
|
||
|
|
cp scripts/com.seahaven.apm-wo-drop.plist "$HOME/Library/LaunchAgents/"
|
||
|
|
launchctl load "$HOME/Library/LaunchAgents/com.seahaven.apm-wo-drop.plist"
|
||
|
|
|
||
|
|
Replace <USER> below with the deploying account's home before loading.
|
||
|
|
-->
|
||
|
|
<plist version="1.0">
|
||
|
|
<dict>
|
||
|
|
<key>Label</key>
|
||
|
|
<string>com.seahaven.apm-wo-drop</string>
|
||
|
|
<key>ProgramArguments</key>
|
||
|
|
<array>
|
||
|
|
<string>/bin/bash</string>
|
||
|
|
<string>/Users/<USER>/Library/Application Support/seahaven/apm-wo-drop/upload.sh</string>
|
||
|
|
</array>
|
||
|
|
<key>WatchPaths</key>
|
||
|
|
<array>
|
||
|
|
<string>/Users/<USER>/APM-WO-Drop</string>
|
||
|
|
</array>
|
||
|
|
<key>StandardOutPath</key>
|
||
|
|
<string>/tmp/apm-wo-drop.out.log</string>
|
||
|
|
<key>StandardErrorPath</key>
|
||
|
|
<string>/tmp/apm-wo-drop.err.log</string>
|
||
|
|
</dict>
|
||
|
|
</plist>
|