forked from x/ContextOS
add some
This commit is contained in:
parent
195cb141da
commit
48268f36a5
@ -4,7 +4,8 @@ main() {
|
||||
case "$1" in
|
||||
app) shift # 生产环境
|
||||
[ -e $ctx_name ] || mkdir $ctx_name; cd $ctx_name
|
||||
export PS1='\\u@\\h[\\t]\\W\\$ ' PATH="$PWD/bin:$PWD/local/bin:$PWD/usr/local/go/bin:$PATH"
|
||||
[ -e /opt/daemon/ ] && mkdir -p usr/local/ && ln -s /opt/daemon/ usr/local/daemon
|
||||
export PATH="$PWD/bin:$PWD/local/bin:$PWD/usr/local/go/bin:$PATH"
|
||||
prepare_ice && $PWD/bin/ice.bin forever start "$@"
|
||||
;;
|
||||
dev) shift # 开发环境
|
||||
|
Loading…
x
Reference in New Issue
Block a user