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."