mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
opt some
This commit is contained in:
parent
4230bbd158
commit
e2eccb3a84
@ -20,7 +20,10 @@ prepare_package() {
|
|||||||
main() {
|
main() {
|
||||||
case "$1" in
|
case "$1" in
|
||||||
app) # 生产环境
|
app) # 生产环境
|
||||||
shift && prepare_ice && bin/ice.bin forever start dev dev "$@"
|
export ctx_log=/dev/stdout
|
||||||
|
shift && prepare_ice && while true; do
|
||||||
|
bin/ice.bin forever start dev dev "$@" && break
|
||||||
|
done
|
||||||
;;
|
;;
|
||||||
dev) # 开发环境
|
dev) # 开发环境
|
||||||
shift && prepare_package && source etc/miss.sh "$@"
|
shift && prepare_package && source etc/miss.sh "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user