Update sbx/a/start_server.sh
Browse files- sbx/a/start_server.sh +3 -3
sbx/a/start_server.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
source /opt/venv/bin/activate
|
| 3 |
-
nohup python /data/app.py > /data/app.
|
| 4 |
-
nohup python /data/c.py > /data/c.
|
| 5 |
-
|
| 6 |
jupyter lab --ip=0.0.0.0 --port=7860 --no-browser --allow-root --notebook-dir=/data --NotebookApp.token='qilan' --ServerApp.disable_check_xsrf=True
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
source /opt/venv/bin/activate
|
| 3 |
+
nohup python /data/app.py > /data/app.log 2>&1 &
|
| 4 |
+
nohup python /data/c.py > /data/c.log 2>&1 &
|
| 5 |
+
tail -f /data/c.log
|
| 6 |
jupyter lab --ip=0.0.0.0 --port=7860 --no-browser --allow-root --notebook-dir=/data --NotebookApp.token='qilan' --ServerApp.disable_check_xsrf=True
|