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