Update start_server.sh
Browse files- start_server.sh +6 -6
start_server.sh
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/server10.py -O /
|
| 3 |
|
| 4 |
-
wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/sbx/b.py -O /
|
| 5 |
|
| 6 |
-
chmod +x /
|
| 7 |
-
nohup python /
|
| 8 |
|
| 9 |
# python /data/b.py
|
| 10 |
|
| 11 |
-
nohup python /
|
| 12 |
-
tail -f /
|
| 13 |
# JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
| 14 |
|
| 15 |
# NOTEBOOK_DIR="/data"
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
+
wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/server10.py -O /tmp/app/server10.py
|
| 3 |
|
| 4 |
+
wget https://huggingface.co/datasets/Qilan2/st-server/raw/main/sbx/b.py -O /tmp/app/b.py
|
| 5 |
|
| 6 |
+
chmod +x /tmp/app/b.py /tmp/app/server10.py
|
| 7 |
+
nohup python /tmp/app/server10.py > /tmp/app/server10.log 2>&1 &
|
| 8 |
|
| 9 |
# python /data/b.py
|
| 10 |
|
| 11 |
+
nohup python /tmp/app/b.py > /tmp/app/b.log 2>&1 &
|
| 12 |
+
tail -f /tmp/app/server10.log
|
| 13 |
# JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
| 14 |
|
| 15 |
# NOTEBOOK_DIR="/data"
|