perf: 修改entrypoint

pull/6633/head
ibuler 2021-08-12 17:53:43 +08:00 committed by 老广
parent 54751a715c
commit a1e8c2849a
1 changed files with 3 additions and 0 deletions

View File

@ -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