feat(command): implement command execution for service monitoring

Add functionality to parse and execute commands for adding/removing service monitors and shutting down the watchdog. The ExecuteCommand function now handles "monitor.add", "monitor.remove" and "watchdog.shutdown" commands by interacting with the monitor package and system operations.
This commit is contained in:
2026-04-05 22:45:45 +08:00
parent f8d3575d60
commit 75639bcf96
2 changed files with 28 additions and 4 deletions

4
.gitignore vendored
View File

@@ -42,8 +42,8 @@ go.work.sum
/frp_client
/configs
agent.md
super-frpc
super-frpc.exe
Watchdog_Linux-systemd
Watchdog_Linux-systemd.exe
*.db
database.db
logs.html