9 Star 111 Fork 55

RACHEL/we-mp-rss

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
start.sh 564 Bytes
一键复制 编辑 原始数据 按行查看 历史
RACH 提交于 2026-04-10 19:55 +08:00 . 1.5.0-Fix
#!/bin/bash
set -e
cd /app/
plantform="$(uname -m)"
PLANT_PATH=${PLANT_PATH:-/app/env}
plant="${PLANT_PATH}_${plantform}"
source /app/environment.sh
source "$plant/bin/activate"
# 启动 Xvfb(如果需要非 headless 模式)
if [ "$HEADLESS" != "true" ] || [ "$ENABLE_XVFB" = "true" ]; then
echo "启动 Xvfb 虚拟 X Server..."
export DISPLAY=:99
Xvfb :99 -screen 0 1920x1080x24 -ac &
XVFB_PID=$!
echo "Xvfb 已启动 (PID: $XVFB_PID, DISPLAY=$DISPLAY)"
# 等待 Xvfb 启动
sleep 2
fi
python3 main.py -job True -init True
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rachel_os/we-mp-rss.git
git@gitee.com:rachel_os/we-mp-rss.git
rachel_os
we-mp-rss
we-mp-rss
main

搜索帮助