jumpserver/entrypoint.sh

12 lines
183 B
Bash
Raw Normal View History

2018-11-13 07:57:44 +00:00
#!/bin/bash
function cleanup()
{
local pids=`jobs -p`
if [[ "$pids" != "" ]]; then
kill $pids >/dev/null 2>/dev/null
fi
}
trap cleanup EXIT
python jms start all