Spaces:
Paused
Paused
Update start.sh
#1
by
cfjy888
- opened
start.sh
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# 启动前先尝试恢复数据
|
| 4 |
+
/app/sync_data.sh restore
|
| 5 |
+
|
| 6 |
+
# 启动aria2和Cloudreve
|
| 7 |
+
aria2c --conf-path=/app/aria2.conf --daemon=true --enable-rpc=true --rpc-listen-all=true &
|
| 8 |
+
./cloudreve -c /app/conf.ini
|
| 9 |
+
|
| 10 |
+
# 保持容器运行
|
| 11 |
+
tail -f /dev/null
|