更新entrypoint

This commit is contained in:
whyour 2021-05-12 11:12:38 +08:00
parent 5acdd977bf
commit a50e3ad401

View File

@ -4,15 +4,15 @@ set -e
dir_shell=/ql/shell
. $dir_shell/share.sh
link_shell
echo -e "======================1. 更新源代码========================\n"
ql update
echo
echo -e "======================2. 检测配置文件========================\n"
echo -e "======================1. 检测配置文件========================\n"
fix_config
cp -fv $dir_root/docker/front.conf /etc/nginx/conf.d/front.conf
echo
echo -e "======================2. 更新源代码========================\n"
ql update
echo
echo -e "======================3. 启动nginx========================\n"
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
echo -e "nginx启动成功...\n"