Skip to content

Commit

Permalink
Adjust procfile port cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanmok committed Feb 18, 2025
1 parent a0af3f3 commit bebe9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai-weather-agent/Procfile.clean
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cleanup: pkill -f "max-pipelines serve" || true && pkill -f "magic run backend" || true && pkill -f "magic run frontend" || true
gpu-cleanup: command -v nvidia-smi >/dev/null && nvidia-smi pmon -c 1 | grep python | awk '{print $2}' | xargs -r kill -9 2>/dev/null || true
port-cleanup: lsof -ti:7999,8000,8001,3000 | xargs -r kill -9 2>/dev/null || true
port-cleanup: lsof -ti:7999,8001,8010,3000 | xargs -r kill -9 2>/dev/null || true

0 comments on commit bebe9dd

Please sign in to comment.