This repository has been archived on 2026-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-08-20 00:45:43 +02:00

12 lines
302 B
Bash

#!/bin/bash
# Aggressively kill all ComfyUI/python processes
pkill -9 -f 'python.*main.py' 2>/dev/null
pkill -9 -f 'python.*comfyui' 2>/dev/null
sleep 3
if pgrep -f 'python.*main.py' > /dev/null 2>&1; then
echo "STILL RUNNING"
ps aux | grep python | grep -v grep
else
echo "ALL STOPPED"
fi