mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
增加git_diy脚本,支持自定义拉取仓库
This commit is contained in:
@@ -34,13 +34,13 @@ nginx -c /etc/nginx/nginx.conf
|
||||
echo
|
||||
|
||||
echo -e "======================3. 更新源代码========================\n"
|
||||
bash ${JD_DIR}/git_pull.sh
|
||||
bash ${JD_DIR}/shell/git_pull.sh
|
||||
echo
|
||||
|
||||
echo -e "======================4. 启动挂机程序========================\n"
|
||||
. ${JD_DIR}/config/config.sh
|
||||
if [ -n "${Cookie1}" ]; then
|
||||
bash ${JD_DIR}/jd.sh hangup 2>/dev/null
|
||||
bash ${JD_DIR}/shell/jd.sh hangup 2>/dev/null
|
||||
echo -e "挂机程序启动成功...\n"
|
||||
else
|
||||
echo -e "config.sh中还未填入有效的Cookie,可能是首次部署容器,因此不启动挂机程序...\n"
|
||||
|
||||
Reference in New Issue
Block a user