Spaces:
Runtime error
Runtime error
Update entrypoint.sh
Browse files- entrypoint.sh +2 -4
entrypoint.sh
CHANGED
|
@@ -2,10 +2,8 @@
|
|
| 2 |
|
| 3 |
if [ -f /app/frpc ]; then
|
| 4 |
echo "Starting frpc..."
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
FRPC_PID=$!
|
| 8 |
-
echo "frpc started with PID $FRPC_PID"
|
| 9 |
fi
|
| 10 |
|
| 11 |
# 判断 1Panel-core 和 1Panel-agent 命令是否存在,如果任一不存在则执行安装脚本
|
|
|
|
| 2 |
|
| 3 |
if [ -f /app/frpc ]; then
|
| 4 |
echo "Starting frpc..."
|
| 5 |
+
screen -dmS FRPCVV bash /app/frpc -c /app/frpc.ini
|
| 6 |
+
echo "frpc started with PID"
|
|
|
|
|
|
|
| 7 |
fi
|
| 8 |
|
| 9 |
# 判断 1Panel-core 和 1Panel-agent 命令是否存在,如果任一不存在则执行安装脚本
|