Checkpoint before follow-up message

Co-authored-by: jxxghp <jxxghp@live.cn>
This commit is contained in:
Cursor Agent
2025-08-20 16:04:44 +00:00
co-authored by jxxghp
parent 3d2ff28bcd
commit 993bc3775b
9 changed files with 752 additions and 24 deletions
+7 -2
View File
@@ -20,6 +20,10 @@ function WARN() {
echo -e "${WARN} ${1}"
}
# 设置虚拟环境路径
VENV_PATH="${VENV_PATH:-/opt/venv}"
export PATH="${VENV_PATH}/bin:$PATH"
# 校正设置目录
CONFIG_DIR="${CONFIG_DIR:-/config}"
@@ -222,7 +226,8 @@ chown -R moviepilot:moviepilot \
/public \
"${CONFIG_DIR}" \
/var/lib/nginx \
/var/log/nginx
/var/log/nginx \
"${VENV_PATH}"
chown moviepilot:moviepilot /etc/hosts /tmp
# 下载浏览器内核
@@ -270,4 +275,4 @@ fi
# 启动后端服务
INFO "→ 启动后端服务..."
exec dumb-init gosu moviepilot:moviepilot python3 app/main.py
exec dumb-init gosu moviepilot:moviepilot ${VENV_PATH}/bin/python3 app/main.py