mirror of https://github.com/jumpserver/jumpserver
perf: 修改entrypoint
parent
54751a715c
commit
a1e8c2849a
|
@ -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…
Reference in New Issue