← back to George Gmail

KEEPALIVE-INSTALL.md

26 lines

# george-gmail :9850 — launchd KeepAlive supervisor

The send service (`server.js`, :9850) is a fleet send-path dependency
(daily-overnight-skus, idea-loop-digest, contact-mailer, launchd reminders).
It died unsupervised on 2026-06-17, taking the morning send jobs down. This
plist keeps it up (RunAtLoad + KeepAlive) so that can't recur.

Tracked copy: `com.steve.george-gmail.plist` (live copy lives in
`~/Library/LaunchAgents/`).

## Install (Steve runs — starts the email service + touches launchd)
```sh
cp com.steve.george-gmail.plist ~/Library/LaunchAgents/
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.steve.george-gmail.plist
launchctl kickstart gui/$(id -u)/com.steve.george-gmail
curl -s -m3 -o /dev/null -w 'george-gmail :9850 -> HTTP %{http_code}\n' http://localhost:9850/
```
Once up, `daily-overnight-skus` + `idea-loop-digest` go green on their next fire.

## Stop / reload
```sh
launchctl kickstart -k gui/$(id -u)/com.steve.george-gmail   # restart
launchctl bootout gui/$(id -u)/com.steve.george-gmail        # stop+unload
```
Logs: `~/Library/Logs/george-gmail.{out,err}.log`.