File size: 668 Bytes
1d3594f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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).