Add empty update loop

pull/1046/head
Eugene Kim 5 years ago
parent 563bef0437
commit cb296b6336
  1. 11
      scripts/node.sh

@ -180,6 +180,8 @@ then
fi
mkdir -p latest
unset -v check_update_pid
cleanup() {
local trap_sig kill_sig
@ -189,6 +191,10 @@ cleanup() {
case "${kill_sig}" in
0|EXIT) kill_sig=TERM;;
esac
case "${check_update_pid+set}" in
set) kill -${kill_sig} "${check_update_pid}";;
esac
}
unset -v trap_sigs trap_sig
@ -212,6 +218,11 @@ do
trap "trap_func ${trap_sig}" ${trap_sig}
done
{
# TODO ek – implement me
} &
check_update_pid=$!
while :
do
echo "############### Running Harmony Process ###############"

Loading…
Cancel
Save