提交 16230786 authored 作者: yoyoyo's avatar yoyoyo

1

上级 acb3e31d
...@@ -312,12 +312,11 @@ uninstall_project() { ...@@ -312,12 +312,11 @@ uninstall_project() {
# 函数:启动或重启项目 # 函数:启动或重启项目
start_project() { start_project() {
cd "$production_install_dir" || exit 1
rm nginx/nginx.conf rm nginx/nginx.conf
rm -rf nginx/nginx.conf rm -rf nginx/nginx.conf
cp nginx/nginx_clear_mysql.conf nginx/nginx.conf cp nginx/nginx_clear_mysql.conf nginx/nginx.conf
cd "$production_install_dir" || exit 1
echo_content "green" "是否要启动/重启 项目?(y/n):" echo_content "green" "是否要启动/重启 项目?(y/n):"
read -r restart read -r restart
if [ "$restart" = "y" ]; then if [ "$restart" = "y" ]; then
...@@ -326,8 +325,6 @@ start_project() { ...@@ -326,8 +325,6 @@ start_project() {
# 定义服务列表 # 定义服务列表
services=("mall-admin" "mall-api" "mall-data" "nginx" "mall-tools" "images_proxy") services=("mall-admin" "mall-api" "mall-data" "nginx" "mall-tools" "images_proxy")
# "proxy-mysql" "proxy-server"
# "go-nginx" "myiframe"
# 遍历服务列表 # 遍历服务列表
for service in "${services[@]}"; do for service in "${services[@]}"; do
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论