diff --git a/scripts-new/bricks.sh b/scripts-new/bricks.sh index d2077ec1e..2feae3d89 100644 --- a/scripts-new/bricks.sh +++ b/scripts-new/bricks.sh @@ -27,9 +27,6 @@ start_binaries() { # Loop to start binary the specified number of times for ((i=0; i "test.log" 2>&1 & - #nohup sh -c '"$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" 2>&1 | tee test.log' & - #nohup ./run_my_command.sh "$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG" > test.log 2>&1 & cmd=("$bin_full_path" -i "$i" -c "$OPENIM_OUTPUT_CONFIG") nohup "${cmd[@]}" >> "${LOG_FILE}" 2> >(tee -a "$ERR_LOG_FILE" | while read line; do echo -e "\e[31m${line}\e[0m"; done >&2) & done diff --git a/scripts-new/check.sh b/scripts-new/check.sh index 256293023..eb6028aa2 100644 --- a/scripts-new/check.sh +++ b/scripts-new/check.sh @@ -32,10 +32,10 @@ source "$OPENIM_SCRIPTS/bricks.sh" result=$(check_binaries_running) ret_val=$? if [ $ret_val -eq 0 ]; then - echo "All binaries are running." + echo "All services are running normally." else + echo "Some services are not running as expected." echo "$result" - echo "abort..." exit 1 fi