From a50e3ad401c0213b2b4cc06f59975293e22ba29b Mon Sep 17 00:00:00 2001 From: whyour Date: Wed, 12 May 2021 11:12:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0entrypoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/docker-entrypoint.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index a03873ee..6efc9ef2 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -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"