mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-27 07:17:10 +00:00
perf: 修改entrypoint
This commit is contained in:
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
Block a user