增加git_diy脚本,支持自定义拉取仓库

This commit is contained in:
whyour
2021-03-20 00:13:43 +08:00
parent 6ad50be6fb
commit 602e2775f7
14 changed files with 579 additions and 104 deletions
+2 -2
View File
@@ -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"