Files
environment/launchd/com.momentry.proxy.plist
warren ca0757652e fix: seed api_keys on fresh install (X-API-Key auth) + momentry-proxy web-server plist + test.sh SPA auth model
- install.sh: seed api_keys row (key_hash = SHA-256 of demo key) — missing row
  caused 401 on every X-API-Key request after clean-install
- launchd/com.momentry.proxy.plist: serve via momentry-proxy binary
  (MOMENTRY_WEB_SERVER=true + TAURI_DIST_DIR) instead of serve_frontend.py
- test.sh: remote probes use X-API-Key (SPA auth model) instead of Bearer
  (proxy login returns UUID session token, core expects JWT/X-API-Key)
2026-11-09 05:03:27 +08:00

24 lines
1.0 KiB
Plaintext

<?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">
<plist version="1.0">
<dict>
<key>Label</key><string>com.momentry.proxy</string>
<key>ProgramArguments</key>
<array>
<string>/Users/accusys/momentry/bin/momentry-proxy</string>
</array>
<key>WorkingDirectory</key><string>/Users/accusys/momentry</string>
<key>EnvironmentVariables</key>
<dict>
<key>MOMENTRY_API_KEY</key><string>muser_demo_key_32chars_abcdef1234567890</string>
<key>MOMENTRY_DATA_DIR</key><string>/Users/accusys/data/users</string>
<key>MOMENTRY_WEB_SERVER</key><string>true</string>
<key>TAURI_DIST_DIR</key><string>/Users/accusys/momentry/dist</string>
</dict>
<key>RunAtLoad</key><true/>
<key>KeepAlive</key><true/>
<key>StandardOutPath</key><string>/Users/accusys/momentry/logs/momentry_proxy.log</string>
<key>StandardErrorPath</key><string>/Users/accusys/momentry/logs/momentry_proxy.error.log</string>
</dict>
</plist>