From a1e8c2849aff7bef7b45ac711bcf3aa621cc5ace Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 12 Aug 2021 17:53:43 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9entrypoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index fa798f642..fe81b1470 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -13,6 +13,9 @@ service="${2-all}" trap cleanup EXIT if [[ "$action" == "bash" || "$action" == "sh" ]];then bash +elif [[ "$action" == "sleep" ]];then + echo "Sleep 365 days" + sleep 365d else python jms "${action}" "${service}" fi