forked from x/ContextOS
opt some
This commit is contained in:
parent
c24ff7dcfe
commit
26ec4cb073
@ -16,5 +16,10 @@ ish_sys_path_insert $PWD/bin
|
|||||||
|
|
||||||
ps aux |grep -v grep |grep ice.bin &>/dev/null && return
|
ps aux |grep -v grep |grep ice.bin &>/dev/null && return
|
||||||
ps aux |grep -v grep |grep tmux &>/dev/null && return
|
ps aux |grep -v grep |grep tmux &>/dev/null && return
|
||||||
sleep 3
|
sleep 1 && cd $CTX_ROOT && source etc/miss.sh
|
||||||
cd $CTX_ROOT && source etc/miss.sh
|
|
||||||
|
return
|
||||||
|
# /etc/rc.local
|
||||||
|
cd /home/shy/contexts/usr/local/daemon/10000 && ./sbin/nginx -p $PWD
|
||||||
|
su - shy -c "cd /home/shy/contexts/ && /home/shy/contexts/bin/ice.bin forever serve"
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@ ish_miss_prepare_icebergs
|
|||||||
ish_miss_prepare_toolkits
|
ish_miss_prepare_toolkits
|
||||||
ish_miss_prepare_volcanos
|
ish_miss_prepare_volcanos
|
||||||
ish_miss_prepare_learning
|
ish_miss_prepare_learning
|
||||||
|
|
||||||
ish_miss_make
|
ish_miss_make
|
||||||
|
|
||||||
ish_sys_link_create ~/.vim_local.vim $PWD/etc/conf/vim_local.vim
|
ish_sys_link_create ~/.vim_local.vim $PWD/etc/conf/vim_local.vim
|
||||||
@ -42,7 +41,6 @@ ish_dev_vim_prepare
|
|||||||
if tmux -V; then
|
if tmux -V; then
|
||||||
require dev/tmux/tmux.sh
|
require dev/tmux/tmux.sh
|
||||||
ish_dev_tmux_prepare
|
ish_dev_tmux_prepare
|
||||||
|
|
||||||
ish_miss_prepare_session miss miss
|
ish_miss_prepare_session miss miss
|
||||||
else
|
else
|
||||||
ctx_log=/dev/stdout ish_miss_serve
|
ctx_log=/dev/stdout ish_miss_serve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user