|
Download examples/linux/README.md from aiagentmona/mona-agent: direct link, hf CLI and curl.
- Browser
- Download file 687 Bytes
-
https://huggingface.co/aiagentmona/mona-agent/resolve/main/examples/linux/README.md
- Command line
-
hf download hf://aiagentmona/mona-agent/examples/linux/README.md
-
curl -L -o README.md https://huggingface.co/aiagentmona/mona-agent/resolve/main/examples/linux/README.md
687 Bytes
| # Run mona-agent as a systemd user service on Linux | |
| ## Install | |
| ```bash | |
| mkdir -p ~/.config/systemd/user | |
| cp mona-agent.service ~/.config/systemd/user/ | |
| systemctl --user daemon-reload | |
| systemctl --user enable --now mona-agent | |
| ``` | |
| ## Useful commands | |
| ```bash | |
| systemctl --user status mona-agent # running? recent log lines | |
| journalctl --user -u mona-agent -f # follow the log | |
| systemctl --user restart mona-agent # restart after updates | |
| ``` | |
| ## Uninstall | |
| ```bash | |
| systemctl --user disable --now mona-agent | |
| rm ~/.config/systemd/user/mona-agent.service | |
| ``` | |
| Requires `mona-agent` on your PATH (`~/.local/bin`, set by the installer) | |
| and a systemd user session (standard on desktop distros). | |