Browse Source

perf: 修改entrypoint

pull/6633/head
ibuler 3 years ago committed by 老广
parent
commit
a1e8c2849a
  1. 3
      entrypoint.sh

3
entrypoint.sh

@ -13,6 +13,9 @@ service="${2-all}"
trap cleanup EXIT trap cleanup EXIT
if [[ "$action" == "bash" || "$action" == "sh" ]];then if [[ "$action" == "bash" || "$action" == "sh" ]];then
bash bash
elif [[ "$action" == "sleep" ]];then
echo "Sleep 365 days"
sleep 365d
else else
python jms "${action}" "${service}" python jms "${action}" "${service}"
fi fi

Loading…
Cancel
Save