1
0
forked from x/ContextOS
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-03-15 11:45:43 +08:00
parent c24ff7dcfe
commit 26ec4cb073
2 changed files with 7 additions and 4 deletions

View File

@ -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 tmux &>/dev/null && return
sleep 3
cd $CTX_ROOT && source etc/miss.sh
sleep 1 && 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"

View File

@ -32,7 +32,6 @@ ish_miss_prepare_icebergs
ish_miss_prepare_toolkits
ish_miss_prepare_volcanos
ish_miss_prepare_learning
ish_miss_make
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
require dev/tmux/tmux.sh
ish_dev_tmux_prepare
ish_miss_prepare_session miss miss
else
ctx_log=/dev/stdout ish_miss_serve