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
if [[ "$action" == "bash" || "$action" == "sh" ]];then
bash
elif [[ "$action" == "sleep" ]];then
echo "Sleep 365 days"
sleep 365d
else
python jms "${action}" "${service}"
fi

Loading…
Cancel
Save