macsync/app.manifest.yaml

50 lines
1.5 KiB
YAML

name: mac-sync
description: Unified macOS sync agent — iMessage, Photos, Mail
type: application
category: sync
version: 0.1.0
platforms:
plum:
os: macos
host: 10.0.0.123
environment: production
services:
client:
type: launchagent
bundle_id: com.lilith.mac-sync
description: MacSync menu bar agent (iMessage + Photos + Mail sync)
start:
path: ~/Code/@applications/@mac-sync
script: deploy/deploy-remote.sh
stop:
path: ~/Code/@applications/@mac-sync
script: |
ssh plum "launchctl unload ~/Library/LaunchAgents/com.lilith.mac-sync.plist 2>/dev/null || true"
status:
command: "ssh plum 'pgrep -x MacSyncApp > /dev/null && echo ok || echo stopped'"
type: process
logs:
command: "ssh plum 'tail -f ~/Library/Application\\ Support/MacSync/stderr.log'"
black:
os: linux
host: 10.0.0.11
environment: production
services:
server:
type: systemd
unit: mac-sync-server
port: "3201"
description: Mac sync ingestion + query server (Bun/Hono)
start:
path: ~/Code/@applications/@mac-sync
script: deploy/deploy-server.sh
stop:
path: ~/Code/@applications/@mac-sync
script: "ssh 10.0.0.11 'sudo systemctl stop mac-sync-server'"
status:
command: "ssh 10.0.0.11 'curl -sf http://localhost:3201/health > /dev/null && echo ok'"
type: http
logs:
command: "ssh 10.0.0.11 'journalctl -u mac-sync-server -f --no-pager'"