1
0
forked from x/ContextOS
This commit is contained in:
harveyshao 2021-10-14 15:41:56 +08:00
parent f03fb285e6
commit e883394a66

View File

@ -1,9 +1,8 @@
#! /bin/sh #!/bin/sh
export ctx_log=${ctx_log:=bin/boot.log} export ctx_log=${ctx_log:=bin/boot.log}
export ctx_pid=${ctx_pid:=var/run/ice.pid} export ctx_pid=${ctx_pid:=var/run/ice.pid}
start() { start() {
trap HUP hup && while true; do trap HUP hup && while true; do
date && bin/ice.bin $@ 2>$ctx_log && break || echo -e \"\n\nrestarting...\" date && bin/ice.bin $@ 2>$ctx_log && break || echo -e \"\n\nrestarting...\"