Commit Graph

5 Commits

Author SHA1 Message Date
f8d3575d60 feat(monitor): add service monitoring functionality with systemd integration
Implement a new monitoring system that tracks service status and logs using systemd commands. The monitor includes:
- Periodic status checks via systemctl
- Log analysis via journalctl
- Thread-safe service tracking
- Error detection and reporting
2026-04-04 18:08:48 +08:00
8aa30b434b style: pack commandParse and socket server to different packages 2026-04-04 18:00:59 +08:00
b367323801 feat(command): add command parsing 2026-04-04 13:44:48 +08:00
0f6045bcbd fix: add newline to response message in handleRequest
Ensure proper message formatting by adding a newline character to the response message before writing to the connection.
2026-04-02 22:21:58 +08:00
f6005cb324 feat: add initial project structure with logging and watchdog service
Implement basic watchdog service for Linux systemd with:
- Configuration loading
- Logging system with database support
- WebSocket log broadcasting
- TCP server for agent communication
- Project setup with Go modules
2026-04-02 21:56:40 +08:00