소스 검색

测试提交

cuixiaodong 1 년 전
부모
커밋
5f340e2239
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      restart.sh

+ 2 - 2
restart.sh

@@ -1,10 +1,10 @@
 #!/bin/bash
 
-# 查找并杀死监听端口 8084 的进程
+# 查找并杀死监听端口 8085 的进程
 PID=$(ps aux | grep 'manage.py runserver 0.0.0.0:8085' | grep -v grep | awk '{print $2}')
 
 if [ -z "$PID" ]; then
-    echo "No process found running on port 8084."
+    echo "No process found running on port 8085."
 else
     kill -9 $PID
     echo "Process $PID killed."