Qilan2 commited on
Commit
5753f74
·
verified ·
1 Parent(s): 7e6c621

Update nv1/start_server.sh

Browse files
Files changed (1) hide show
  1. nv1/start_server.sh +7 -7
nv1/start_server.sh CHANGED
@@ -4,13 +4,13 @@ source /opt/venv/bin/activate
4
  # nohup python /data/app.py > /data/app.log 2>&1 &
5
  # # nohup python /data/app.py > /dev/null 2>&1 &
6
  python /data/app.py
7
- if [ "$N_PORT" != "7860" ]; then
8
- nohup python /data/app.py > /data/app.log 2>&1 &
9
- python /data/b.py
10
- else
11
- python /data/app.py
12
- # 这里不运行 b.py
13
- fi
14
  # jupyter lab \
15
  # --ip=0.0.0.0 \
16
  # --port=7860 \
 
4
  # nohup python /data/app.py > /data/app.log 2>&1 &
5
  # # nohup python /data/app.py > /dev/null 2>&1 &
6
  python /data/app.py
7
+ # if [ "$N_PORT" != "7860" ]; then
8
+ # nohup python /data/app.py > /data/app.log 2>&1 &
9
+ # python /data/b.py
10
+ # else
11
+ # python /data/app.py
12
+ # # 这里不运行 b.py
13
+ # fi
14
  # jupyter lab \
15
  # --ip=0.0.0.0 \
16
  # --port=7860 \