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