From 2570012c59839916947e663a6c7995219dce99ff Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 Jul 2026 16:35:26 +0000 Subject: [PATCH] Fix deploy: kill uvicorn by name, clear __pycache__, ensure variant generation runs --- remote-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote-deploy.sh b/remote-deploy.sh index 9ae56d5..fad62bf 100755 --- a/remote-deploy.sh +++ b/remote-deploy.sh @@ -12,5 +12,5 @@ rsync -av \ /root/dodep-simulator/ \ root@zernmc.ru:/root/dodep/ -ssh root@zernmc.ru "pkill -f 'frontend:app' 2>/dev/null; pkill -f 'python3.*backend' 2>/dev/null; sleep 2; cd /root/dodep && setsid python3 -m uvicorn frontend:app --host 0.0.0.0 --port 13669 > /tmp/frontend.log 2>&1 &" +ssh root@zernmc.ru "pkill -f 'uvicorn' 2>/dev/null; pkill -f 'python3.*backend' 2>/dev/null; sleep 2; cd /root/dodep && rm -rf __pycache__ && setsid python3 -m uvicorn frontend:app --host 0.0.0.0 --port 13669 > /tmp/frontend.log 2>&1 &" echo "Deployed and restarted."