From 7d7b9e5bd1364e76d0ee56404f6fb2271db5338d Mon Sep 17 00:00:00 2001 From: TCUDIKEL Date: Sun, 11 May 2025 19:55:53 +0300 Subject: [PATCH] . --- serve_mcphost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serve_mcphost.py b/serve_mcphost.py index 540a77e..6516abb 100644 --- a/serve_mcphost.py +++ b/serve_mcphost.py @@ -134,7 +134,7 @@ async def restart_service(): # Use subprocess.Popen with start_new_session=True import subprocess process = subprocess.Popen( - ["sudo", "supervisorctl", "restart", "llm-api-mcphost", "&&", "/usr/local/bin/gotify", "'mcphost service restarted'"], + ["sudo", "supervisorctl", "restart", "llm-api-mcphost"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, start_new_session=True # This detaches the process