update restart endpoint
This commit is contained in:
@@ -122,7 +122,7 @@ async def health_check():
|
||||
return {"status": "healthy", "mcphost_alive": mcp_manager._is_alive()}
|
||||
|
||||
|
||||
@app.post("/restart-service")
|
||||
@app.get("/restart")
|
||||
async def restart_service():
|
||||
"""Restart the llm-api-mcphost service using supervisorctl"""
|
||||
hostname = socket.gethostname()
|
||||
|
||||
Reference in New Issue
Block a user