feat(agent): add crash logs and watchdog startup
- Recover panics to disk for diagnostics - Add 5-minute watchdog task with startup - Add -ensure flag to start detached agent - Add script to pull remote folder via API
This commit is contained in:
+2
-2
@@ -216,14 +216,14 @@ func Spec() map[string]any {
|
||||
},
|
||||
"/api/v1/startup": map[string]any{
|
||||
"post": map[string]any{
|
||||
"summary": "Add agent to Windows startup",
|
||||
"summary": "Add agent to Windows startup and a 5-minute watchdog task",
|
||||
"operationId": "enableStartup",
|
||||
"responses": auth(map[string]any{
|
||||
"200": okJSON("Startup state", ref("StartupState")),
|
||||
}),
|
||||
},
|
||||
"delete": map[string]any{
|
||||
"summary": "Remove agent from Windows startup",
|
||||
"summary": "Remove agent from Windows startup and the watchdog task",
|
||||
"operationId": "disableStartup",
|
||||
"responses": auth(map[string]any{
|
||||
"200": okJSON("Startup state", ref("StartupState")),
|
||||
|
||||
Reference in New Issue
Block a user