mona-agent / examples /macos /README.md
mo
docs: examples and integrations — boot units, health check, automation recipes
1d3594f
|
Raw History Blame Contribute Delete
668 Bytes
# Run mona-agent automatically on macOS
Install this LaunchAgent to start mona-agent when you log in and keep it
running (auto-restart on crash).
## Install
```bash
mkdir -p ~/Library/LaunchAgents
cp com.monaexpert.agent.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.monaexpert.agent.plist
```
## Verify
```bash
launchctl list | grep monaexpert
mona-agent connect # should report cloud reachable, key valid
```
## Uninstall
```bash
launchctl unload ~/Library/LaunchAgents/com.monaexpert.agent.plist
rm ~/Library/LaunchAgents/com.monaexpert.agent.plist
```
Requires `mona-agent` on your PATH (`~/.local/bin`, set by the installer).