feat: 增加守护进程管理 (#1800)
This commit is contained in:
@@ -6154,6 +6154,26 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"/host/tool/supervisor/process": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "获取 Supervisor 进程配置",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Host tool"
|
||||
],
|
||||
"summary": "Get Supervisor process config",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
@@ -6195,6 +6215,48 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/host/tool/supervisor/process/file": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "操作 Supervisor 进程文件",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Host tool"
|
||||
],
|
||||
"summary": "Get Supervisor process config",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "request",
|
||||
"name": "request",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/request.SupervisorProcessFileReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"x-panel-log": {
|
||||
"BeforeFuntions": [],
|
||||
"bodyKeys": [
|
||||
"operate"
|
||||
],
|
||||
"formatEN": "[operate] [operate] Supervisor 进程文件",
|
||||
"formatZH": "[operate] Supervisor 进程文件 ",
|
||||
"paramKeys": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"/hosts": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -15696,6 +15758,37 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.SupervisorProcessFileReq": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"file",
|
||||
"name",
|
||||
"operate"
|
||||
],
|
||||
"properties": {
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"file": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"out.log",
|
||||
"err.log"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"operate": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"get",
|
||||
"clear",
|
||||
"update"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"request.WebsiteAcmeAccountCreate": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
Reference in New Issue
Block a user