在 install.sh 中添加对 print_share_link.sh 的调用,以在启动容器后打印分享链接;移除 run.sh 中的分享链接打印逻辑
This commit is contained in:
parent
e8061425cc
commit
5e1d79f23c
@ -33,8 +33,6 @@ run() {
|
|||||||
# 启动docker容器
|
# 启动docker容器
|
||||||
docker-compose -f "$script_dir/../docker-compose.yml" up -d
|
docker-compose -f "$script_dir/../docker-compose.yml" up -d
|
||||||
|
|
||||||
# 打印分享链接
|
|
||||||
bash "$script_dir/print_share_link.sh"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
run # 启动容器
|
run # 启动容器
|
||||||
|
|||||||
@ -58,6 +58,7 @@ main(){
|
|||||||
install
|
install
|
||||||
bash ./bin/create_config.sh
|
bash ./bin/create_config.sh
|
||||||
bash ./bin/run.sh
|
bash ./bin/run.sh
|
||||||
|
bash ./bin/print_share_link.sh
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
# 生成配置 / 重置配置
|
# 生成配置 / 重置配置
|
||||||
@ -82,6 +83,7 @@ main(){
|
|||||||
# 启动容器
|
# 启动容器
|
||||||
check_config_file
|
check_config_file
|
||||||
bash ./bin/run.sh
|
bash ./bin/run.sh
|
||||||
|
bash ./bin/print_share_link.sh
|
||||||
;;
|
;;
|
||||||
7)
|
7)
|
||||||
# 停止容器
|
# 停止容器
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user