From 2f99261d26666b42b18fca8b6880fa4f10d26907 Mon Sep 17 00:00:00 2001 From: Ameer Hamza Date: Sun, 1 Oct 2023 22:50:13 +0800 Subject: [PATCH] Changed entrypoing script so that it will wait for the system command to finish before running user command. --- scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 358a1f3..749ae8d 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -16,7 +16,7 @@ sudo mkhomedir_helper `whoami` touch $LOG_FILE -eval $SYS_COMMAND_INIT & +eval $SYS_COMMAND_INIT eval $USER_COMMAND_INIT & tail -f $LOG_FILE & wait ${!}