restart.sh 222 B

123456789
  1. #!/bin/bash
  2. sudo kill -9 $( lsof -i:20333|awk '{print $2}'|sed -n '2p')
  3. sudo kill -9 $( lsof -i:20332|awk '{print $2}'|sed -n '2p')
  4. cd chatchat
  5. truncate -s 0 llm_cm.log
  6. nohup python3 cli.py start -a > llm_cm.log 2>&1 &