修改布局
parent
c3eb10c9c9
commit
3736d9ed93
6
main.sh
6
main.sh
|
@ -94,9 +94,11 @@ restart_server() {
|
|||
restart_script="supervisorctl restart all"
|
||||
;;
|
||||
"coreStop")
|
||||
server_name=core1
|
||||
restart_script="bash /data/jieling/server/bin/stop.sh core1"
|
||||
;;
|
||||
"coreStart")
|
||||
server_name=core1
|
||||
restart_script="bash /data/jieling/server/bin/start.sh core1"
|
||||
;;
|
||||
*)
|
||||
|
@ -236,7 +238,9 @@ game_code_build(){
|
|||
local current_time=$(get_current_time)
|
||||
show_file project | grep master
|
||||
read -rp "请输入项目地址: " project
|
||||
bash "${script}" "${project}" "${project}_${type}_${current_time}"
|
||||
local package="${project}_${type}_${current_time}"
|
||||
echo -e "包名: $package"
|
||||
bash "${script}" "${project}" "${package}"
|
||||
}
|
||||
# 游戏代码正式更新
|
||||
game_code_official(){
|
||||
|
|
Loading…
Reference in New Issue