mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
更新entrypoint
This commit is contained in:
parent
5acdd977bf
commit
a50e3ad401
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user