mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
fix build.sh
This commit is contained in:
parent
aba7e870ac
commit
29fe013302
@ -4,7 +4,7 @@ icebergs是一个后端框架,通过模块化、集群化实现资源的无限
|
||||
|
||||
一键创建项目
|
||||
```
|
||||
curl -s https://raw.githubusercontent.com/shylinux/icebergs/master/demo/build.sh | sh miss
|
||||
mkdir miss; cd miss && curl -s https://raw.githubusercontent.com/shylinux/icebergs/master/demo/build.sh | sh
|
||||
```
|
||||
|
||||
## 1 原型 type.go
|
||||
|
@ -74,11 +74,11 @@ var Index = &ice.Context{Name: "gdb", Help: "事件模块",
|
||||
"pid": "var/run/shy.pid",
|
||||
},
|
||||
kit.MDB_HASH: map[string]interface{}{
|
||||
"2": []interface{}{"exit", "1"},
|
||||
"3": []interface{}{"exit"},
|
||||
"2": []interface{}{"exit"},
|
||||
"3": []interface{}{"exit", "1"},
|
||||
"15": []interface{}{"exit"},
|
||||
"30": []interface{}{"exit", "1"},
|
||||
"31": []interface{}{"exit"},
|
||||
"30": []interface{}{"exit"},
|
||||
"31": []interface{}{"exit", "1"},
|
||||
"28": "WINCH",
|
||||
},
|
||||
kit.MDB_LIST: map[string]interface{}{},
|
||||
|
@ -30,7 +30,7 @@ prepare() {
|
||||
}
|
||||
start() {
|
||||
prepare && while true; do
|
||||
date && ice.bin \$@ 2>boot.log && break || echo -e "\n\nrestarting..."
|
||||
date && ice.bin \$@ 2>boot.log && echo -e "\n\nrestarting..." || break
|
||||
done
|
||||
}
|
||||
restart() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user