|
@@ -1,5 +1,6 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
source /home/liqiaoyan/miniconda3/bin/activate
|
|
source /home/liqiaoyan/miniconda3/bin/activate
|
|
conda activate topicSegment
|
|
conda activate topicSegment
|
|
-sudo nohup python segment_app.py > logs/nohup.out 2>&1 &
|
|
|
|
|
|
+#不能用sudo,使用 sudo 时,系统可能会使用一个不同的环境
|
|
|
|
+nohup python segment_app.py > logs/nohup.out 2>&1 &
|
|
echo "试题切割服务正常开启!"
|
|
echo "试题切割服务正常开启!"
|