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:
1 parent
f8d3575d60
commit
75639bcf96
2 files changed
+28
-4
No files matched your search
+2
-2
@@ -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
|
||||
Reference in new issue
Block a user