templates/com.ts03.reports.plist.example
<?xml version="1.0" encoding="UTF-8"?>
<!-- Reference only. scripts/install-report-server.sh writes the real file with your paths
to ~/Library/LaunchAgents/com.ts03.reports.plist -->
<!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.ts03.reports</string>
<key>ProgramArguments</key><array>
<string>/Library/Developer/CommandLineTools/usr/bin/python3</string>
<string>-m</string><string>http.server</string><string>8765</string>
<string>--bind</string><string>0.0.0.0</string>
<string>--directory</string><string>/Users/YOUR_USERNAME/ts03-reports</string>
</array>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>StandardErrorPath</key><string>/tmp/ts03-reports.log</string>
</dict></plist>
Questions or corrections: [email protected]